How do I develop JBuilder 2008 applications that manage lexicons?

Last reviewed: 12/2/2009

HOW Article ID: H120907

The information in this article applies to:

  • LexiconKit 3

Summary

LexiconKit 3 includes updated samples for JBuilder 2008 from Embarcadero.

More Information

Configure JBuilder-Eclipse (JBuilder 2007 and 2008) to use the Chant LexiconKit Java Component Library with the following steps:

  1. copy the DJLexiconKit.DLL (C:\Program Files\Chant\LexiconKit 3\Win32 Developer\Java\bin\DJLexiconKit.DLL) file to your Java JRE bin directory; and
  2. configure the lexiconkit.jar and chant-shared.jar libraries (C:\Program Files\Chant\LexiconKit 3\Win32 Developer\Java\libv1.x) within your JBuilder project as follows:
    1. create a lib directory containing lexiconkit.jar and chant-shared.jar within your project root directory;
    2. right-click on the lexiconkit.jar file and select Build Path | Add To Build Path; and
    3. right-click on the chant-shared.jar file and select Build Path | Add To Build Path.

Configure JBuilder-Eclipse (JBuilder 2007 and 2008) to run the Create and Edit samples with the following steps:

  1. copy the DJLexiconKit.DLL file to your Java JRE bin directory;
  2. copy the JBuilder-Eclipse Create and Edit project folders (i.e., C:\Program Files\Chant\LexiconKit 3\Win32 Developer\Java\Samples\JBuilder-Eclipse\Create and C:\Program Files\Chant\LexiconKit 3\Win32 Developer\Java\Samples\JBuilder-Eclipse\Edit) to your JBuilder workspace directory;
  3. within JBuilder, select File | Import; and
  4. select General | Existing Projects into Workspace.

The JBuilder-Swing samples can be opened end edited under the Swing Designer (JBuilder 2008). Configure JBuilder-Eclipse (JBuilder 2008) to run the Create and Edit samples with the following steps:

  1. copy the DJLexiconKit.DLL file to your Java JRE bin directory;
  2. copy the JBuilder-Swing Create and Edit project folders (i.e., C:\Program Files\Chant\LexiconKit 3\Win32 Developer\Java\Samples\JBuilder-Swing\Create and C:\Program Files\Chant\LexiconKit 3\Win32 Developer\Java\Samples\JBuilder-Swing\Edit) to your JBuilder workspace directory;
  3. within JBuilder, select File | Import; and
  4. select General | Existing Projects into Workspace.

Place import com.lexiconkit.*; and import net.chant.shared.*; statements in your application to reference the LexiconKit classes and members within your code.

JBuilder-Eclipse sample projects are installed at [My] Documents\Chant LexiconKit 3\Java\JBuilder-Eclipse and [My] Documents\Chant LexiconKit 3\Java\JBuilder-Swing.