Workaround BooleanStateAction in Mac OSX Global Menu

Monday, June 18th, 2012

If you are using BooleanStateAction and bitten by this bug #207477. And interestingly this bug is start to creep into Ubuntu Unity Global Menu as well (using Java Ayatana plugins). Below is the workaround. The idea is to maintain the JMenuItem reference ourselves and set the appropriate (checked/enabled) state. So you can inherit ...

Book Review: Netbeans Platform 6.9 Developer’s Guide

Wednesday, September 15th, 2010

Netbeans Platform 6.9 Developer's Guide by Jürgen Petri comes with 273 pages. This is not Java beginner book or learning Java book, and not about Netbeans IDE as well. The author assumes zero Netbeans Platform knowledge. This book is written for developers who are comfortable with Java and Swing, and ...

Netbeans Platform RTL (Right To Left) Component Orientation

Wednesday, October 21st, 2009

If you haven't aware Java have support for RTL (Right-To-Left) for the User Interface, and thank to Netbeans Platform based on Swing, it is easy as well to make Netbeans Platform application to support RTL (Right-To-Left) as well Step 1: Create ComponentOrientation support class This step is optional, but make the testing ...

Netbeans Platform Friend dependencies

Wednesday, May 27th, 2009

Recently on the nbdev (dev@openide.netbeans.org) mailing list someone ask a question regarding friend dependencies, because he/she I got the following Error: The module some.package.path is not a friend of some-path\some.jar So what is friend dependency anyways. Friend Dependency is caused by a Module that have an API which its author is ...

Netbeans Platform referencing other module in layer.xml Tips

Friday, December 12th, 2008

How do you reference some some instance from other module in the current module layer.xml ? In my case, I need this functionality/features because I create a module that act as branding module. In this branding module I declare the shortcut, windows, menu, etc. The other module is pure API ...

Netbeans Platform Localization as Plugins

Wednesday, August 6th, 2008

This is another series of Netbeans Platform i18n and localization trick. You can read the other series in here and here. This methods is used to localize Netbeans Platform based Application which can be updated using Update Center. It also have an entry on the Plugins List. However, please note ...

Standalone Module Branding tips

Thursday, May 8th, 2008

Just a simple tip regarding module branding splash during development or debugging. If you build a "standalone" module for your Netbeans RCP based application, during development you will notice that it will display the original Netbeans IDE/RCP splash screen rather than your branded application splash screen. To enable your own branded splash ...

Netbeans Platform Ant based build system trick

Monday, February 18th, 2008

If you build an application on top of Netbeans Platform, you probably already know that it is using Apache Ant as the build system. Thanks to this flexibility of Netbeans Platform (ant based build system), this system allow us to do various trick to automate stuff. For example Netbeans Platform ...

Netbeans Platform localization and branding trick

Wednesday, February 13th, 2008

This is the second part of Netbeans Platform i18n and localization trick. The first part is available at Netbeans Platform i18n and localization. This approach is using branding trick to override the Netbeans Platform default localization. I think this is a HACK, use with caution. The proper localization should be ...

Java Web Start Application

Friday, January 18th, 2008

Finally, we just build Java Web Start for Sketsa SVG Editor and Citra FX Photo Effects. Last time, we disabled Java Web Start due to the Netbeans Bug: 96928 which is now fixed. However, there are another Java Web Start related bug which is not fixed yet: 96928 - fixed 76196 - ...