|
What are Swing layout managers |
|
|
The following list contains Swing layout managers with their brief descriptions.
| BoxLayout |
The layout manager used by the Box container. It arranges its children into either a row or a column. It uses the glue and strut components returned by static Box methods to display stretchy and rigid spaces between the children. |
| OverlayLayout |
An obscure and infrequently used layout manager that overlaps its children based on the children's alignment values specified with the setAlignmentX() and setAlignmentY() methods inherited from JComponent. Used by AbstractButton. |
| ScrollPaneLayout |
A specialized layout manager used by JScrollPane. Not typically useful for general-purpose layouts. |
| ViewportLayout |
A specialized layout manager used by JViewport. Not useful for general-purpose layouts. |
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.