Use a JButton 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 Button bean, rather than a JButton bean, if you want to use it in an AWT container. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Button Component
Button Beans
Beans for Visual Composition