What are the Swing class?

Swing in java is part of Java foundation class which is lightweight and platform independent . It is used for creating window based applications. It includes components like button, scroll bar, text field etc. Putting together all these components makes a graphical user interface.

Read more

What are the components and containers in Swing?

SWING Containers Sr.No.Container & Description1Panel JPanel is the simplest container. It provides space in which any other component can be placed, including other panels.2Frame A JFrame is a top-level window with a title and a border.3Window A JWindow object is a top-level window with no borders and no menubar.SWING – Containers – Tutorialspoint www.tutorialspoint.com › swing › swing_containers

Read more