Another Swing program demo where I have used 3 layouts to show up the demo which are BorderLayout, BoxLayout, GridLayout.
A layout container that arranges and resizes its components to fit in five regions: north, south, east, west, and center.
A layout that arranges components either on top of each other or in a row.
This layout places components in a grid of cells.
The current demo app uses the following list of Swing Components, where in each does the job as they are named
The button has been given an ActionListener which displays all the components in a Message Dialog made up using JOptionPane. It also shows how each component is being used.