InterviewSolution
Saved Bookmarks
| 1. |
Write the steps to change the default layout manager |
|
Answer» t MANAGER automatically arranges the control within a window by using some type of algorithm. Each container object has a layout manager associated with it. A layout manager is an instant of any class that IMPLEMENTS the LayoutManager interface. The Layout Manager is set by the setLayout method. Java has SEVERAL PREDEFINED Layout Manager CLASSES: Flow Layout, Border Layout, Insets, Grid Layout and Card Layout. |
|