Creating a Custom Layout Manager

JBuilder allows the inclusion of layout managers other than the ones that ship with JBuilder. The layout manager is normally nothing more than a class that implements LayoutManager. You might want to have the layout manager also be available in the layout property within the Inspector.

To accomplish this, you must register the layout assistant. The registration step is simply one method call to the initOpenTool() method.

CAUTION

Before you start creating a new layout manager, verify that no other layout manager will work. You can also find a number of resources on the Internet for which you can download different layout managers.

Custom Layout Manager Implementation

To create a custom layout manager, you need ...

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.