Registering a created Bean in the Java Form Designer will allow it to be pasted on a Java Form, in the same way as for functions such as J Business Kit. Register a Bean by performing the following procedure from the[Settings] > [Bean Registration] dialog box, accessed via the Java Form Designer menu bar:
Click [Add Bean] in the [Edit of palette] tab. The [Add Bean] dialog box will be displayed.
Enter a JAR file name or a Bean class name. The specified Bean will be added to "Bean which can be displayed in the palette".
Add the Bean that has been added to "Bean which can be displayed in the palette" to "Bean displayed in the palette".
The Wizards for Java Forms, applets, and JavaBeans can be customized in the following ways:
Select [Settings] > [Edit Wizard] from the Java Form Designer menu bar to configure each item.
Editing a Wizard
Allows the layout, tabs, name, and icons to be set
User-set forms Wizard
If the superclass of a class extended form has been predetermined, a custom Wizard with a fixed superclass can be created by using the [Add or Edit Wizard] dialog box.
Select [Customize Panel], [Customize Frame], [Customize Dialog], or [Customize Applet] from the [Available Wizard] list.
Note
java.applet.Applet and java.awt.Frame cannot be specified in a user-set panel. Use a user-set frame or a user-set applet to specify these.
In the Java Form Designer, it is possible to set various options by selecting [Settings] > [Options] from the Java Form Designer menu bar. The special items are described below.
[Form] tab
Item | Description |
---|---|
Adjust to Grid | Specifies whether or not a newly pasted Bean is to be positioned to fit the boundaries of a grid. When the Bean is shifted, the upper left of the Bean will be positioned along the boundaries of the grid. |
Create with preferred size | A new Bean on a form is created using the "preferred size", regardless of the rectangle that was specified using the mouse |
[Properties] tab
Item | Description |
---|---|
Show expert property | Displays properties for experts in the properties sheet |
Settings | Displays the [Select Font] dialog box |
Note
For the properties option, the size and style cannot be set for the font.
[Editor] tab
Item | Description |
---|---|
Deletes the event description when Bean is deleted | When a Bean is deleted, the event descriptions that correspond to the Bean are deleted from the source |
Deletes target Bean Relationships when Bean is deleted | When a Bean is deleted, the Bean Relationships in which the Bean is a target are deleted from the source |
Replace the unconditionally when the Bean is renamed | When the name of a Bean is changed, replaces the new name for the Bean name character string in the source |
Note
If [Deletes the event description when Bean is deleted] or [Deletes target Bean Relationships when Bean is deleted] has been specified, the event processing descriptions and Bean Relationships cannot revert to their original state by means of a revert operation. Take note of this when deleting a Bean.
If [Replace the unconditionally when the Bean is renamed] has been specified, because the character string that corresponds to the Bean name in the source will be replaced unconditionally, unintended replaces may occur. Take note of this when changing the name of a Bean.
[Environment] tab
Item | Description |
---|---|
Search path of base form | Displays a search path list for Base forms. If a Base form is read, searching is performed using the order of this search path list. |
[Wizard] tab
This tab sets information on forms generated by a Wizard and sets initial values for each property when a new Java Form is created.
Item | Description |
---|---|
Class Details | Sets initial values for Swing or AWT |
From active form | Obtains values for each item from active forms that are currently being displayed |
[Visualize Bean Relationships] tab
This tab sets the visualization method for Bean Relationships and the color at visualization.
Item | Description |
---|---|
Way of Visualizing Bean Relationships | Selects a visualization method for Bean Relationships. The [Detailed setting] button can be used to configure detailed settings for the visualization method:
|
Colors | Sets the color used when Bean Relationships are visualized. When the [Setting] button is clicked, the [Select Color] dialog box is displayed:
|
[Detail of a way of Visualizing about Bean Relationships] dialog box
This dialog box sets the details of the visualization method for a Bean.
Item | Description |
---|---|
Only visualize Bean Relationships in specified events | Select when Bean Relationships are to be visualized for specific events. |
Visualize Bean Relationships set as a parameter | Select when Bean Relationships that have been set as parameters are to be visualized. Bean Relationships that have been set as parameters are indicated by the "jTextField1.getText()" part in the following example: |
[Other] tab
Set other items.
Item | Description |
---|---|
Display non-recommended function | The deprecated items shown below are valid. These features are likely to be removed in the future and are introduced here in the interests of compatibility. Do not use if they can be avoided.
|
This displays a list of forms opened with a Java Form Designer. Either double-click the form selected in the list, or click [Show] to display that form at the front.