O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required