Netbeans Platform Branding Updater.jar
November 19th, 2007 | by Tonny Kohar |Another series of Netbeans Platform branding, but this time is branding the updater.jar. Updater.jar is used by Netbeans Platform during modules updates and update tracking and work in conjunction with Auto Update Services.
After the branding of Splash Screen and About Dialog, you can also branding the updater splash image. This image will be shown by Netbeans Platform during module update and require a restart.
Note: this is tested on Netbeans 6 RC1
Customize the Updater Splash Screen
In the project suite (under File, not project) expand the branding folder as show in the image.
If the folder branding/ext/updater.jar is not exists, just create it, it is just a normal folder structure.
Note: updater.jar is not a jar file, it is a folder name
Add the following in the Bundle.properties
UpdaterFrame.TextBackground_R=0 UpdaterFrame.TextBackground_G=0 UpdaterFrame.TextBackground_B=0 UpdaterFrame.TextForeground_R=255 UpdaterFrame.TextForeground_G=255 UpdaterFrame.TextForeground_B=255 UpdaterFrame.Background_R=0 UpdaterFrame.Background_G=0 UpdaterFrame.Background_B=0 UpdaterFrame.outerColor_R=28 UpdaterFrame.outerColor_G=43 UpdaterFrame.outerColor_B=29 UpdaterFrame.centerColor_R=85 UpdaterFrame.centerColor_G=73 UpdaterFrame.centerColor_B=16 UpdaterFrame.isGradient=false |
The above bundles properties values are example only, you may need to change it to reflects your own branding color scheme.
Then create any image file that you like to be a replacement for the default splash. In Netbeans 6 RC1, there is no size limit or constraints for the updater splash image, although I use the size of 400×191. However, it must be named updatersplash.gif
Tags: Branding, Java, Netbeans Platform, Sketsa, Trick
4 Responses to “Netbeans Platform Branding Updater.jar”
By James Branam on Nov 27, 2007 | Reply
Hi,
My name is James Branam and I’m the NetBeans Community Docs Manager. Your blog entry would make a fantastic Tips & Tricks entry for our Community Docs wiki (http://wiki.netbeans.org/wiki/view/CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.
By Tonny Kohar on Nov 28, 2007 | Reply
@james
just added the wiki http://wiki.netbeans.org/wiki/view/BrandingUpdaterSplash