<<< JLabel control | Index | Runtime Events >>> |
Represents a clickable button
Methods:
setText( String caption ) getText() // get caption
JFrame.add() method adds JButton to the frame
Note: when clicked, no resulting action occurs -- the code has to be written to handle the click event.
<<< JLabel control | Index | Runtime Events >>> |