not idle

Netbeans Classloaders

Tuesday, September 29th, 2009

Netbeans classloader system consists of three types of classloaders, namely module classloader, system classloader and original classloader. Usually, module classloaders are used to load classes and resources from within the module itself. However, there are situations when you need to access classes and/or resources from other modules. Imagine two modules, A and B. Class Ca [...]

Read the rest of this entry »

Boolean state menu items in Netbeans

Monday, September 28th, 2009

Netbeans platform supports different kinds of actions (always enabled, CallableSystemAction, CallbackSystemAction etc). However, it was not clear to me how to create an action that could be used for toggling the state of the system. Initially, I experimented with Presenter.Menu interface and provided my own implementation of the JCheckMenuItem but couldn’t get the platform to [...]

Read the rest of this entry »

Private