Button

Palette category
AWT
Palette bean
Button
Project
Java class libraries
Package
java.awt
Type
Button

Use a Button bean to provide a push button that the user can select to perform an action. For example, you can define an OK button to let the user save changes and close a window.

Use a JButton bean, rather than a Button bean, if you want to use it in a Swing container. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Adding a Button Component

Related references
Button Beans
Beans for Visual Composition