frame.add(new JButton());
And you canuse setActionListener() and setActionCommand() to set it up to detect it being pressed.
Chris
Type: Posts; User: Freaky Chris
frame.add(new JButton());
And you canuse setActionListener() and setActionCommand() to set it up to detect it being pressed.
Chris
Do you know how to create a JFrame?
Chris