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

Using Control Beans

Control beans are graphical user interface beans that users interact with to control program execution. Sometimes a control simply displays text or graphics. All control beans are discrete graphic objects that populate JavaBeans containers.

Note

See Chapter 8, "Beans as Containers," to learn more about JavaBeans containers and how to create them.

You can plop a control bean into any container bean. In fact, the BeanBox window that is part of the Beans Development Kit (BDK) is a container bean. Container beans can be windows, frames, or dialog boxes.

You typically write control beans by extending an AWT class derived from the Component class.

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