Chapter 7. JavaBeans as Graphical User Interface Components

In This Chapter

All source code for this chapter can be found on the Sams Publishing Website at http://www.mcp.com/info/0-672/0-672-31424-x.

Buttons, fuel gauges, and other graphic user interface controls are ideal objects to make into beans. In fact, Java's Abstract Windowing Toolkit (AWT) classes are all JavaBeans controls. Create your own controls by extending classes from the Abstract Windowing Toolkit. After you've done this, you can experiment with applying the same concepts to Swing.

Get JavaBeans Unleashed 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.