Let's understand simple Java interface
In the above picture we have create a Frame using JFrame class of Java.
Other components add are like as follows
- Frame
- Panel
- Button
- Label
- TextField
Classes used to create the above components are as follows:
| Component Name | Class Name |
|---|---|
| Frame | JFrame |
| Panel | JPanel |
| Button | JButton |
| Label | JLabel |
| TextField | JTextField |
| RadioButton | JRadioButton |
| ChekBox | JCheckBox |
| ComboBox | JComboBox |

No comments:
Post a Comment