Support for custom layout managers
It is also possible to use custom layout managers in the Form Editor. Any layout manager with a default constructor and that does not use constraints for adding components can be used in the Form Editor when designing.
Important: When adding custom layout managers that do not follow these criteria, you must follow the specifications of the Forte for Java Layout Managers API in order to be able to use the layout manager in the Form Editor. See the NetBeans web site for more information on obtaining and using the Forte for Java Layout Managers API.
To install a custom layout manager
- Add the directory or JAR archive containing the layout manager's source or class to the IDE by choosing Tools | Add Directory or Tools | Add JAR from the main menu.
- Install the custom layout manager in the Component Palette by right-clicking on the layout manager's class in the Explorer or Object Browser and choosing (Add to Component Palette... from the context menu).
- In the Palette Category dialog box that appears, select the Layouts category and click OK.
Contents | Prev | Next | Index |