layer.xml

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:

NbBundle.getBundle("org.netbeans.core.windows.view.ui.Bundle").getString("CTL_MainWindow_Title");

And to set the titlebar of the application:

SwingUtilities.invokeLater(new Runnable() {
    @Override
    public void run() {
        WindowManager.getDefault().getMainWindow().setTitle(NbBundle.getBundle("org.netbeans.core.windows.view.ui.Bundle").getString("CTL_MainWindow_Title") + " - " + myOtherInformationIWantInTheTitleBar);
    });
About these ads

30 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.

    Thanks.

  10. Joycelyn said

    Hi! This is my first comment here so I just wanted to give a quick shout out and
    say I truly enjoy reading your articles. Can you suggest
    any other blogs/websites/forums that deal with the same
    topics? Thanks for your time!

  11. Chilp.it said

    Thanks for one’s marvelous posting! I seriously enjoyed reading it, you may be
    a great author.I will remember to bookmark your blog and will often come back
    from now on. I want to encourage you to continue your great writing, have a nice holiday weekend!

  12. I get pleasure from, result in I found exactly what I used to be taking a
    look for. You’ve ended my 4 day lengthy hunt! God Bless you man. Have a great day.
    Bye

  13. Howdy! I could have sworn I’ve visited this
    website before but after looking at a few of the articles I realized it’s
    new to me. Regardless, I’m certainly happy I came across it and I’ll be bookmarking
    it and checking back regularly!

  14. Compilation Videos report Therapeutic massage Videos report Seashore Videos report Bisexual Videos report German Videos report Cuckold Videos report Gangbang
    Videos report Voyeur Videos report Japanese Videos report Movie star Videos report Handjob Videos report
    French Videos report Shemale Videos report BDSM Videos
    report Swinger Videos report Orgasm Videos report BBW Videos report Granny Videos report Interracial Videos report Asian Videos report Beauty Videos report Large Cock Videos report Gay Videos report Creampie Videos report Porn lovers are enthusiastic about her comeback.
    “Might this be a sign she’ll give being a pornstar a try?” one asks (link very NSFW).
    “I really hope so because she’s a pure.” Choice of wonderful videos
    from Pantyhose Line in Stocking Sex niche Finest Hardcore Sex movies at
    Pantyhose Line Taboo Sex

  15. Hey there would you mind letting me know which web host you’re utilizing?
    I’ve loaded your blog in 3 completely different browsers and I must say this blog loads
    a lot quicker then most. Can you suggest a good hosting
    provider at a fair price? Cheers, I appreciate it!

  16. I was more than happy to discover this great site. I wanted to thank you for ones time for this particularly wonderful read!!
    I definitely loved every bit of it and I have you saved to fav to
    look at new stuff on your website.

  17. lovely said

    Hiya very nice site!! Guy .. Excellent ..
    Amazing .. I will bookmark your site and take the feeds additionally?
    I am happy to seek out numerous useful info right here in the submit, we want develop more strategies on this regard, thanks for sharing.
    . . . . .

  18. As fas as the other data features are concerned, this edition has class
    GPRS and EDGE. For any queries call +1 516 515 9871 or email us at

  19. Klara said

    Wow, that’s what I was seeking for, what a stuff! existing here
    at this webpage, thanks admin of this web page.

  20. I just couldn’t depart your site prior to suggesting that I extremely loved the standard info a person supply in your visitors?
    Is gonna be back often to inspect new posts

  21. Hello! This post couldn’t be written any better! Reading this post reminds me of my good old room mate!

    He always kept chatting about this. I will forward this post to him.
    Fairly certain he will have a good read. Thanks for sharing!

  22. Caitlin said

    Really love this web site, wonderful stuff here, would have been a bit sceptical about purchasing a steam shower system for our house however, the information and knowledge
    here sorted my mind out, brilliant thank you

  23. anxiety testicle pain

    Get the application title inside your platform application « layer.xml

  24. This was perhaps the most amazing thing to a kid growing
    up at the time and it meant that I could play my friend in another state without either of us leaving the
    house. Many of these articles condemn the gaming community as being homophobic and bigoted.
    Head here to get the rest of the report along with
    the world’s best Basketball Training System at a
    fraction of what it’s worth: .

  25. Reputable joiners and carpenters offer various services, from construction of white oak or pine staircases with new bannisters to building made to measure window frames, shaving down and rehanging wooden interior doors to laying new floorboards and
    wooden flooring in new build properties. If you do not
    like the tiles chosen by your tiler, you must tell it to your tiler very
    clearly so that they opt for something that goes with the style of your home.
    Before you hire someone for the work, you must get three to four quotes from the
    professional to pick the best one for you.

  26. You actually make it appear so easy with your presentation however
    I to find this matter to be actually something which I believe
    I might by no means understand. It seems too complicated and very
    vast for me. I am looking ahead to your next put up, I will attempt to
    get the hold of it!

  27. Spot on with this write-up, I truly think this website needs far
    more attention. I’ll probably be back again to read through more, thanks for the info!

  28. Benedict said

    Hola estoy encantada de visitar vuestra página me parece super buena.

    Yo soy una universitaria que me encanta el desarrollo web, el apunte y sobre todo la creación de
    aplicaciones de juegos para móviles.
    Me gusta mucho vuestra página me parece super interesante.

    Os felicito por vuestra web, soy desde ya una admiradora vuestra.

    Hola me ha gustado mucho tu articulo
    Es extraordinario, buena aviso la que he encontrado. Muchos besitos.

    Por fin alguien que me lo ha explicado para que yo lo puede comprender.

    Estoy excesivo contenta.
    Grande, que contenta estoy, es lo mas. Muchas gracias.

  29. domain Promo Code

    Get the application title inside your platform application « layer.xml

  30. Hi all, here every one is sharing these kinds of know-how,
    thus it’s pleasant to read this website, and I used to visit this web site every day.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: