JBuilder 3 Foundation

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 project properties menu item. The Default Project Properties dialog box appears.
  2. Select the Required Libraries tab sheet and press the Add button. The Select one or more libraries dialog box appears.
  3. Press the New button.
  4. Type Multilizer 2.0 in the Name field.
  5. Select ther Class tab sheet and press the Add button. Select the <mljavadir>\multilizerall12.jar file (e.g. C:\Program files\Multilizer\Java\multilizerall12.jar)
  6. If you have the source code, select the Source tab sheet and press the Add button. Select <mljavadir> directory.
  7. Press OK to close the Edit library dialog box.
  8. 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 components tab sheet.
  6. Select Multilizer 2.0 in the Select library compo box and press the Intall button.
  7. Select the following classes:
    multilizer.BinaryDictionary
    multilizer.TextDictionary
    multilizer.ServerDictionary
    multilizer.DatabaseDictionary
    multilizer.TestDictionary
    multilizer.Translator
    multilizer.AppletTranslator
    multilizer.SwingModule
  8. 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.