Tuesday, September 8, 2015

Basic Java Interface

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
  1. Frame
  2. Panel
  3. Button
  4. Label
  5. TextField
Classes used to create the above components are as follows:

Component NameClass Name
FrameJFrame
PanelJPanel
ButtonJButton
LabelJLabel
TextFieldJTextField
RadioButtonJRadioButton
ChekBoxJCheckBox
ComboBoxJComboBox

No comments:

Post a Comment