TOC PREV NEXT INDEX



Swing 1 & 2


The Swing pages contain the components from the Swing graphical user interface library.

Button (JButton)

A JButton allows the user to indicate when an action should be performed. It can hold a single line of text, whose alignment and position can be specified relative to an icon. Several different icons can be specified to indicate the various states of the JButton. A keyboard mnemonic can also be specified.

A JButton will generate an ActionEvent when the JButton is pressed.

A JButton will generate a ChangeEvent whenever the button changes state (i.e. is pressed, is released, etc...)


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX