Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
swdev:java:component:jframe [2017/10/05 22:33] smayr [Theme] |
swdev:java:component:jframe [2017/10/05 23:05] (current) smayr [Layout Managers] |
||
---|---|---|---|
Line 51: | Line 51: | ||
References: | References: | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | == Layout Managers == | ||
+ | |||
+ | Java Swing uses Layout Managers to manage the size and position of visual components. Tutorial on how to use these Layout Managers: [[http:// | ||
+ | |||
+ | Most common layout managers: | ||
+ | |||
+ | * **FlowLayout (default)**: | ||
+ | * **BorderLayout**: | ||
+ | * **GridLayout**: | ||
+ | * **GridBagLayout**: | ||
+ | * **NullLayout** (when you nullify the container' | ||
+ | * Containers inside in other containers can use a different layout manager than their parent. Combining layout managers is a difficult art to learn. | ||
+ | |||
+ | References: [[https:// |