Using Multilizer with JBuilder 1
The following three chapters describe how to install Multilizer to JBuilder 1 and how
to compile and run the Dcalc sample application.
1. 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 | IDE Options menu item. A Environment Options dialog box appears.
- Press the Edit button of the Default Class Path. A Edit Class Path dialog box appears.
- Press the Add Zip / JAR button. A Add Zip / Jar dialog box appears.
- Select the
<mldir>\multilizer.jar package file. Press the OK button
to close the Add Zip / Jar dialog box.
- Press the OK button to close the Environment Options dialog.
2. 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. A Palette Properties dialog box appears.
- Press the Add button. A Add Page dialog box appears.
- Type Multilizer and press the OK button to close the Add Page dialog box.
- Select the Add from Archive tab sheet.
- Press the Browse button. A Open dialog box appears.
- Select the
<mldir>\multilizer.jar package file. Press the OK button
to close the Open dialog box.
- Select all the Beans visible on the "Beans found from the archive:" list.
- Press the Install button to install the beans.
- Press the OK button to close the Palette Properties dialog box.
3. Create the project file
The sample applications included to the Multilizer are standard Java applications. They
are not JBuilder specific. To use the sample applications you have to create a JBuilder
project for each application.
To create a project for Dcalc:
- Choose File | New Project menu item. A Project Wizard dialog box appears.
- Type
<mldir>\samples\dcalc\dcalc.jpr into the File edit box.
- Press the Finish button to close the Project Wizard. JBuilder creates a new project for
you.
- Press the + button. A File Open / Create dialog box appears.
- Choose Java Source in the Files of type combo box.
- Select the
<mldir>\samples\dcalc\dcalc.java file. Press the Open
button to close the Open / Create dialog box.
- Choose File | Save Project menu item to save to the project.
- Choose Run | Run "Dcalc" menu item to compile and run the application.