Home > Uncategorized > NetBeans Platform – how to customize the title bar and remove datestamp

NetBeans Platform – how to customize the title bar and remove datestamp


When you create a NetBeans Platform project, the title bar includes a datestamp/version identifier which is visually distracting.  You’d like to customize the title bar.
Default title versioning

Right click on the project node, and choose Find.  In the dialog box, search for {0}.

In the results, double click on the first Bundle.properties, in branding/modules…

Replace the lines with {0} with what you desire the title to be:
relaunch the program.

Updated title bar

You can also change the title at runtime with the following code:
Frame f = WindowManager.getDefault().getMainWindow();
f.setTitle("My title");

These are modified instructions based off of a thread found here.  See instructions on how to change the versioning number, if that’s what you desire, here.



If you are attempting to change the window title programmatically from an Installer instance, you’ll find that this doesn’t work.  The problem is that you are changing the title too early in the lifecycle.  Instead, you need to do the following:

// Only change the window title when all the UI components are fully loaded.
        WindowManager.getDefault().invokeWhenUIReady(new Runnable() {
            public void run() {
  1. November 17, 2010 at 4:31 am

    or you could right click the suite, select branding and then the resource tab. Search for CTL_Main and do the change from there.

    • i82much
      November 17, 2010 at 11:26 am

      Thanks for the information. Always looking to learn more about NetBeans Platform.

  2. December 13, 2012 at 4:34 pm

    Pretty great post. I simply stumbled upon your blog and wanted to mention
    that I’ve really loved surfing around your weblog posts. After all I’ll be
    subscribing to your feed and I’m hoping you write again soon!

  3. December 16, 2012 at 5:04 am

    I’ll immediately grab your rss feed as I can’t in finding your e-mail subscription link or
    e-newsletter service. Do you’ve any? Kindly permit me realize in order that I may subscribe. Thanks.

  4. September 5, 2013 at 10:33 am

    There’s certainly a great deal to learn about this topic.

    I love all of the points you made.

  5. Á
    January 28, 2015 at 8:56 am

    can i change color of backgroud that contains title bar ?

  1. No trackbacks yet.

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

%d bloggers like this: