How do I develop JBuilder 2008 applications that manage profiles?

Last reviewed: 8/7/2009

HOW Article ID: H080907

The information in this article applies to:

  • ProfileKit 3

Summary

ProfileKit 3 includes updated samples for JBuilder 2008 from Embarcadero.

More Information

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

  1. copy the DJProfileKit.DLL (C:\Program Files\Chant\ProfileKit 3\Win32 Developer\Java\bin\DJProfileKit.DLL) file to your Java JRE bin directory; and
  2. configure the profilekit.jar and chant-shared.jar libraries (C:\Program Files\Chant\ProfileKit 3\Win32 Developer\Java\libv1.x) within your JBuilder project as follows:
    1. create a lib directory containing profilekit.jar and chant-shared.jar within your project root directory;
    2. right-click on the profilekit.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 Compile and Phonemes samples with the following steps:

  1. copy the DJProfileKit.DLL file to your Java JRE bin directory;
  2. copy the JBuilder-Eclipse Compile and Phonemes project folders (i.e., C:\Program Files\Chant\ProfileKit 3\Win32 Developer\Java\Samples\JBuilder-Eclipse\Compile and C:\Program Files\Chant\ProfileKit 3\Win32 Developer\Java\Samples\JBuilder-Eclipse\Phonemes) 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 Compile and Phonemes samples with the following steps:

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

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

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