Forums Register Login

What is the difference between Grid and Gridbaglayout?

+Pie Number of slices to send: Send
any one help me.i'mn a begineer in this area.please explain me briefly.
thanx in advance.
+Pie Number of slices to send: Send
GridLayout is a very simple layout manager that can arrange components in a grid of rows and columns. Every cell in the grid, and thus every component, is resized to be the same exact size.
GridBagLayout is much more complex, and much more flexible. It also arranges components in rows and columns, but individual components can span multiple rows or multiple columns and thus the components in the grid can vary in size.
You’ll find me in my office. I’ll probably be drinking. And reading this tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 11772 times.
Similar Threads
Layout Question
How will you add panel to a frame?
Statement, Prepared Statement, and CallableStatement
Interface vs Abstract class
Procedural Vs OOP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:28:21.