|
|
Contents |
PaletteThe component palette provides quick access to commonly used components (JavaBeans) available for adding to forms.
Choose BeanYou can use any component that follows the JavaBean specification in JFormDesigner. Select Choose Bean in the palette to open the Choose Bean dialog. Search tabOn this tab you can search for classes. Enter the first few characters of the class you want to choose until it appears in the matching classes list. Then select it in the list and click OK. The matching classes list displays all classes that match. It is separated into up to three sections:
JARs tabOn this tab you can select classes that are marked as JavaBean in the JAR's manifest. The provider of the component JAR can mark some classes as JavaBean in the manifest file. Popular 3rd party component libraries like MiG Calendar or JIDE components use this to make it easier to find the few classes, which can be used in GUI builders, in libraries that contain hundreds of classes.
See also http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Per-Entry%20Attributes Other optionsThe Is Container check box allows you to specify whether a bean is a container or not. If you select Add to palette category, the component will be added to the palette category specified in the following field. Click the New button to create a new category for your components if necessary. Stand-alone: Use the Classpath button to specify the location of your component classes. Add your JAR files or class folders. IDE plug-ins: The classpath specified in the IDE project is used to locate component classes. Palette ManagerThis dialog allows you to fully customize the component palette. You can add, edit, remove or reorder components and categories.
|
||||||||||