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.