Using a Custom Layout Manager

See Also

If you are unable to accomplish the result you require with the provided layout managers, you can use a custom layout manager.

To integrate a custom layout manager into the IDE's GUI Builder it must:

To install a custom layout manager from the Files window:

  1. Right-click the layout manager's class in the Files window and choose Tools > Add to Palette from the contextual menu.
  2. In the Select Palette Category dialog box, select one of the categories and click OK.

    The IDE adds the custom layout manager to the palette window.

To install a custom layout manager that is packed in a JAR file:

  1. Choose Tools > Palette > Swing/AWT Components.
  2. In the Palette Manager, click Add From JAR.
  3. In the Install Components to Palette wizard's file chooser, navigate to and select the JAR file for the layout manager.
  4. Complete the Install Components to Palette wizard and click Finish.

    The IDE installs the JavaBean and adds the custom layout manager to the palette window.

For more information on how to create a custom layout, see:

See Also
About Layout Managers
Setting the Layout Manager
Using the GridBag Customizer

Legal Notices