previous |
start |
next
Control Panel Components
- Use Swing package javax.swing
- Class names start with J
- JTextField xField = new JTextField(width);
- JLabel xLabel = new JLabel("x = ");
- Icon buttonIcon = new ImageIcon("hand.gif");
- moveButton = new JButton("Move", buttonIcon);
previous |
start |
next