GridBagConstraints GridX, GridY, GridWidth & GridHeight #13
In this video, we will see how to arrange controls using GridBagLayout & GridBagConstraints. Here, we will look at Gridx and Gridy properties & how they decide the position of the components. We will also learn how GridWidth and GridHeight decide the size of the controls added to a container managed by GridBagLayout.