Creating a Collapsible panel using SwingX 0.9.2 in Netbeans
1.Download Netbeans and SwingX
2..Creating a project in netbeans
-Go to File->New project(Ctrl+Shift+N), Under categories select Java->Java Application
Project Name “ExampleCollapsiblePane”
-Uncheck “Create Main Class”
-Then click “Finish”
3.Unpack swing-0.9.2.zip.Navigate to swingx\dist\swingx-0.9.2.jar file and add to the libraries (Righ click “Libraries” and select “Add JAR/folder…..”
4.Right click “ExampleCollapsible” and select New->Java Class. Type Client for class name and choose your package name(eg. org.fanosft)
5.Get the source code from here
6.Run the project



Leave a Reply