C H A P T E R  6

Actions

The treatment of actions of the NetBeans Platform is based on the Swing Action Framework. Consequently, each action is based on the Swing interface ActionListener or Action. The benefit of the NetBeans Platform is that it provides an infrastructure for different recurring types of actions. Previously actions had to be derived from a special class depending on the type of action; since NetBeans Platform7 all actions have the same form and just need to implement the ActionListener interface. In addition to the fact that actions are now easier to use, the implementation of actions has become more transparent for you as a developer. Now the NetBeans Platform does the hard work for you in the background.

ENORMOUSLY EASIER: ...

Get The Definitive Guide to NetBeans™ Platform 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.