Java AWT Question and Answers
17. | What is the difference between Grid and GridbagLayout? |
---|---|
In Grid layout the size of each grid is constant where as in GridbagLayout grid size can varied. | |
18. | What is a layout manager? |
---|---|
|
|
19. | Where the CardLayout is used? |
---|---|
|
|
20. | Which container may contain a menu bar? |
---|---|
Frame | |