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.
Adding a button component
Sun's JButton bean documentation
Button beans
Beans for visual composition