not idle

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 »