Answer:
Yes. You need to experiment to see exactly what layout your program currently gives you, then change it to hopefully get what you want. There are many more GUI components to experiment with than these notes describe.
End of the Chapter
You have reached the end this chapter. Click on a subject that interests you to go to where it was discussed.
- The setResizable() method.
- Class JPanel
- Adding components to a JPanel
- Nested Panels
- The BoxLayout layout manager.
- Setting BoxLayout for a frame.