This video explains how to use java.awt.GridLayout to arrange buttons in rows and columns. This will also show how to add padding between the grid of buttons.
Code Snippets for AWT PlayList.
In this video, we will create 5 java AWT Buttons and hand-over that to FlowLayout Manager. Then, we will study how this layout manager is organizing these button when the Frame Window is resized.
We will also learn about the control alignment and adjust gap between the buttons.
In this video, we will create two CheckboxGroup. In the first group, we will add three check boxes and in the second group we will add 4 check boxes. These check boxes appears as Radio button. The ItemEvent handler will tell which radio button was selected in each group.