a netbeans rcp blog

Get the application title inside your platform application

Posted by Nicklas Löf on February 22, 2011

I’m adding some information into the platform applications title bar and I have hard coded the application name title in one of my classes. This works but when the application name changes (for example version/release number) I have to remember to change in two places (my class and in the branding dialog box).

Today I finally did have a look how to get the application title in my code and it was this simple:


And to set the titlebar of the application:

SwingUtilities.invokeLater(new Runnable() {
    public void run() {
        WindowManager.getDefault().getMainWindow().setTitle(NbBundle.getBundle("").getString("CTL_MainWindow_Title") + " - " + myOtherInformationIWantInTheTitleBar);
About these ads

9 Responses to “Get the application title inside your platform application”

  1. Along with lipophillic components, certain natural Green Coffee Bean Extract For Weight Loss function pretty efficiently and provide power to the body.

  2. Excellent post. I was checking constantly this blog and I’m impressed! Very useful info particularly the last part :) I care for such information much. I was looking for this particular info for a long time. Thank you and best of luck.

  3. read said

    Their as if you find out my thoughts! You seem to fully grasp much with this, just like you composed a guide within it or something that is. I do believe you can make use of some per-cent in order to strain your message household slightly, but rather than which, this can be exceptional blog. A wonderful go through. I will easily be rear.

  4. Hey would you mind letting me know which webhost you’re utilizing?

    I’ve loaded your blog in 3 different internet browsers and I must say this blog loads a lot quicker then
    most. Can you recommend a good web hosting provider at a fair price?
    Thanks, I appreciate it!

  5. Castricone said

    Thank you every other excellent post. The spot else may possibly any individual have that type of info such a great manner of creating? I get a business presentation in the future, that i’m with the look for similarly info.

  6. Hi, just wanted to tell you, I liked this
    blog post. It was inspiring. Keep on posting!

  7. Online said

    As the admin of this website is working, no doubt very shortly it will be well-known, due to its feature contents.

  8. Hey! Do you know if they make any plugins to protect against hackers?

    I’m kinda paranoid about losing everything I’ve worked
    hard on. Any tips?

  9. Hildred said

    I’ll right away seize your rss as I can not find your e-mail subscription link or e-newsletter service.
    Do you have any? Kindly let me understand in order that I could subscribe.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: