JBuilder 2
The following three chapters describe how to install MULTILIZER to JBuilder 2 and how
to compile and run the JBuilder sample application. If you use Swing and MULTILIZER you
have to use JBuilder 2.01x that is available from Inprise's
web pages.
Add Multilizer Package
JBuilder needs to know where the packages are located. This is similar to the CLASSPATH
of Java VM. To add the Multilizer package to the class path:
- Choose Tools | Default Project Properties menu item. The Default Project Properties
dialog box appears.
- Press the Libraries button. The Available Java libraries dialog box appears.
- Press the New button.
- Type Multilizer 2.0 in the Name field.
- Type the
<mljavadir>\multilizerall11.jar
in the Class path field.
(e.g. C:\Program files\Multilizer\Java\multilizerall11.jar
)
- If you have the source code, type
<mljavadir>
in the Source path.
- Press OK to close the Available java libraries dialog box.
- Press the Add button. The Select a Java library dialog box appears.
- Select Multilizer 2.0 and press OK.
- Press OK to close the Default Project Properties dialog.
Install Multilizer Beans to the component palette
In order to use a Bean in the IDE you have to install it to the component palette. To
install Multilizer Beans to the component palette:
- Choose Tools | Configure Palette menu item. The Palette Properties dialog box appears.
- Press the Add button. The Add Page dialog box appears.
- Type Multilizer and press the OK button to close the Add Page dialog box.
- Select the Multilizer page.
- Select the Add from Archive tab sheet.
- Press the Browse button. The Open dialog box appears.
- Select the
<mljavadir>\multilizerall11.jar
package file. Press the OK
button to close the Open dialog box.
- Select all the Beans visible on the "JavaBeans found from the archive:" list.
- Press the Install button to install the beans.
- Press the OK button to close the Palette Properties dialog box.
Open a sample project
The most sample applications included to the Multilizer are standard Java applications.
They are not JBuilder specific. They contain a JBuilder project but you can not use the
visual form designer. MULTILIZER contains two fully JBuilder compatible samples (Dcalc and
JBuilder). To open the Dcalc project:
- Choose File | Open / Create menu item. The File Open / Create dialog box appears.
- Browse
<mldir>\samples\dcalc\dcalc.jpr
and press Open.
- Choose Run | Run "Dcalc" menu item to compile and run the application.