Rich Client Programming: Plugging into the NetBeans Platform
by Tim Boudreau, Jaroslav Tulach, Geertjan Wielenga
Chapter EightThe Window System
One of the most basic things any GUI application needs is the ability to display windows on the screen. Swing provides for this with classes such as JFrame. But this hardly solves the entire problem of windowing for Swing applications. In a reasonably complex, modern application, quite a bit of plumbing is needed beyond the simple ability to put a window on the screen. An application window will typically contain menus, toolbars, and other common components. Many applications have a concept of selection or context sensitivity—certain actions that are represented in menus and toolbars can only be enabled when certain types of things are “selected.” For example, a Copy menu item should only be enabled when there is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access