The Source for Java Technology Collaboration


Home | Changes | Index | Search | Go

SwingXIDE

A summary about how-to bind SwingX into your IDE/project (this was originally located on the SwingX wiki main page)

Using SwingX with Eclipse:

  1. On Eclipse, go to Window -> Preferences;
  2. On the left box, go to Java\Build Path\User Libraries;
  3. Click new, type a name ("SwingX") and Ok;
  4. Select the new library and click on Add JARs, go to folder where you downloaded the swingx.jar, select it and click on Open.

Then... On your project:

  1. Right click on your project, select Properties and go to Java Build Path;
  2. Select the Libraries tab and click Add Library;
  3. Select User Library, click Next;
  4. Check the box of the SwingX (that was created in the first steps);
  5. Finish and Ok.

To add the SwingX components to Eclipse pallete, use this plugin(but it's not available for now).

Using SwingX with NetBeans:

Adding SwingX library to NetBeans:

  1. Open NetBeans, go to menu Tools > Library Manager and click "New Library...";
  2. Type a name (could be "SwingX") and click Ok;
  3. Select the Library that you created and, in the Classpath box (on the right), click "Add JAR/Folder...";
  4. Then go to the folder where you downloaded swingx.jar file, select it and click "Add JAR/Folder" in this window.

Now the SwingX components are already available to you use in NetBeans. But, to use them in a project, do the following steps:

Adding SwingX library to the Project Libraries:

  1. Right click on your project that you want to use the SwingX components and select Properties;
  2. Select "Libraries" in the left box;
  3. Click "Add Library..." and select the library that you created in Adding SwingX library to NetBeans ("SwingX", as I suggested);
  4. Click "Add Library" and then Ok.

Now your project can use the SwingX components, but we already need to set the NetBeans's Palette to show the SwingX components.

Adding the SwingX components to the NetBeans's Palette:

  1. Create (or open) a Java GUI Class Form. The Palette will appear;
  2. Right click on the palette and select "Palette Manager...";
  3. Click "New Category...", type a name (could be "SwingX" again) and click Ok;
  4. Select the category that you created in the box and click "Add from Library...";
  5. Select the library that you created in Add SwingX library to NetBeans ("SwingX", as I suggested) and click "Next >";
  6. On the next screen, click in the box and type Ctrl+A (to select all items) and click "Next >" again;
  7. Finally select the category that you created on the third step of this topic ("SwingX", as I suggested);
  8. Click Finish and then Close.

And everything done! Enjoy!

Pierre's Eclipse update site

  • Package for milestone 8
  • Basic Visual Editor Extension

Topic SwingXIDE . { Edit | Ref-By | Printable | Diffs r1 | More }
 XML java.net RSS

Revision r1 - 22 Feb 2007 - 15:58:44 - Main.kleopatra
Parents: WebHome > SwingLabs > SwingLabsSwingX