JBuilder 3

The following three chapters describe how to install MULTILIZER to JBuilder 3 and how to compile and run the JBuilder sample application.

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 Project | Default Properties menu item. The Default Project Properties dialog box appears.
  2. Select the Paths tab sheet and 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>\multilizerall12.jar in the Class path field. (e.g. C:\Program files\Multilizer\Java\multilizerall12.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 to add 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>\multilizerall12.jar package file. Press the OK button to close the Open dialog box.
  8. Select "Only display Beans listed in the manifest" radio button.
  9. Select all items in the "JavaBeans found in the archive:" list.
  10. Select Multilizer in the "Add component to page:" combo box.
  11. Press the Install button to install the beans.
  12. Press the OK button to close the Palette Properties dialog box.

The Component Palette should look like this:

The Multilizer sheet of the Component Palette

The Beans having the green book in their icon are the dictionary component. The Beans having the blue Earth in their icons are the translator components. The Beans having a light blue box in their icon are the module components.

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 <mljavadir>\samples\dcalc\dcalc.jpr and press Open.
  3. Choose Run | Run "Dcalc" menu item to compile and run the application.