Current Page:
NeXtMidas Training
NetBeans - Part 2 (GUIs)
Matisse
JAR File
|
+ Start Here
+ Background
+ Common Midas Concepts
+ Getting Started - Part 1
+ Getting Started - Part 2
+ Working with Files
+ Option Trees
+ Macros - Part 1 (Basics)
+ Macros - Part 2 (Graphics)
+ Primitives
+ NetBeans - Part 1 (Setup)
- NetBeans - Part 2 (GUIs)
+ Setting up the GUI Builder
- Matisse
- About
- JAR File
- Java 6
- Code Generation Options
- Set the Options
+ Using the GUI Builder
+ Lab1
+ NetBeans - Part 3 (Profiler)
+ Applets & WebStart
+ Maps & Imagery
+ X-Midas Interoperability
+ RMIF & Remoting
+ Installing NeXtMidas
+ Support & Maintenance
+ File Handlers
|
- Using the swing-layout.jar File:
- Since Free Design was created developed by NetBeans (and not Java)
it is not part of Java/Swing.
- All of the classes required are contained in the
swing-layout.jar file.
- You will need to include
swing-layout.jar with your option tree if you
use Free Design.
- To use the
swing-layout.jar with your option tree, just create a
jars area in your option tree and copy the JAR file into there.
- A copy of the JAR file is provided with NetBeans and can be found at
<netbeans_install_dir>/platform6/modules/ext/swing-layout-1.0.jar .
- What if I forget to include the
swing-layout.jar file?
- You will get many errors saying that
org.jdesktop.layout.* is not
found.
Don't Make This Mistake: |
If you try to build your new GUI and you get many errors, particularly ones saying that
org.jdesktop.layout.* was not found, you have probably forgotten to include
the swing-layout.jar file. On occasion you will need to exit the NeXtMidas
shell briefly and then go back into NeXtMidas in order for the JAR file to be picked up.
|
|