Summary

Every container must have a layout manager. If a layout manager does not fit your needs, do not attempt to make it work; choose a different layout manager. JBuilder provides a number of time-saving features for building a user interface. Do not be afraid or intimidated to use them. The benefit will pay for itself quickly and many times over.

JBuilder offers layout managers from the simple, such as FlowLayout or BoxLayout, to the complex, such as GridBagLayout.

Reflections

  • Which layout manager is right for me?

  • How does the layout manager I have chosen manage my components?

  • Should I use one layout manager and standardize on it?

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.