Component Classes Of Swing API.

Q9. Name the component classes of Swing API for the following components:

  1.  a frame 
  2. a button 
  3. a panel.

Ans.

  1. JFrame
  2. JButton
  3. JPanel.

Leave a Reply

Your email address will not be published. Required fields are marked *