Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add SwingX Pallete in Netbeans 7.2

I am working with netbeans 7.2 and want to install swingX.I have install swingX 1.6.2 but its not working. Thanking You.

like image 870
chintan Avatar asked Dec 15 '22 14:12

chintan


1 Answers

The following steps are from here:

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.
like image 178
lbalazscs Avatar answered Dec 18 '22 04:12

lbalazscs