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:

  1. Choose Tools | Default Project Properties menu item. The Default Project Properties dialog box appears.
  2. Press the Libraries button. The Available Java libraries dialog box appears.
  3. Press the New button.
  4. Type Multilizer 2.0 in the Name field.
  5. Type the <mljavadir>\multilizerall11.jar in the Class path field. (e.g. C:\Program files\Multilizer\Java\multilizerall11.jar)
  6. If you have the source code, type <mljavadir> in the Source path.
  7. Press OK to close the Available java libraries dialog box.
  8. Press the Add button. The Select a Java library dialog box appears.
  9. Select Multilizer 2.0 and press OK.
  10. 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:

  1. Choose Tools | Configure Palette menu item. The Palette Properties dialog box appears.
  2. Press the Add button. The Add Page dialog box appears.
  3. Type Multilizer and press the OK button to close the Add Page dialog box.
  4. Select the Multilizer page.
  5. Select the Add from Archive tab sheet.
  6. Press the Browse button. The Open dialog box appears.
  7. Select the <mljavadir>\multilizerall11.jar package file. Press the OK button to close the Open dialog box.
  8. Select all the Beans visible on the "JavaBeans found from the archive:" list.
  9. Press the Install button to install the beans.
  10. 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:

  1. Choose File | Open / Create menu item. The File Open / Create dialog box appears.
  2. Browse <mldir>\samples\dcalc\dcalc.jpr and press Open.
  3. Choose Run | Run "Dcalc" menu item to compile and run the application.