Chapter 4. Actions: Let's Make the NetBeans Platform Do Something!

An application's actions are among its most important and central components. In this chapter, you'll learn how to provide actions and how to integrate them into the application's menu bar, toolbar, and pop-up menus. You'll be introduced to specific NetBeans Platform classes that simplify the development and integration of action classes into your application. Moreover, the concepts are explained relevant to the creation of context-sensitive actions.

Overview

The NetBeans Platform bases its actions on the Swing Action Framework. Ultimately, every action rests upon Swing's Action interface. In the simplest case, an action class implements the Action interface or, even more straightforward, ...

Get The Definitive Guide to NetBeans™ Platform 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.