Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
swdev:java:component:jframe [2017/10/04 06:33] smayr created |
swdev:java:component:jframe [2017/10/05 23:05] (current) smayr [Layout Managers] |
||
---|---|---|---|
Line 48: | Line 48: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | References: | ||
+ | * [[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:// |