Current Page:
NeXtMidas Training
NetBeans - Part 2 (GUIs)
Matisse
Code Generation Options
|
+ 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
|
- Code Generation Options:
- Since there are two ways of using Free Design, you will need to tell NetBeans 5.5
(and later) which one to use. NetBeans provides the following options:
- Automatic (Default)
- With this option NetBeans will automatically select one of the
options listed below.
- Do not use this option... you may not get the one you want.
- Standard Java 6 Code
- This option does not require the
swing-layout.jar file.
- Only choose this option only if all of your users will be
using Java 6 (or later).
- You probably don't want this option!
- Swing Layout Extensions Library
(i.e.
swing-layout.jar )
- This option works with Java 1.4.2 and later (it also works with Java 6).
- This option requires the
swing-layout.jar file.
- You probably want this option!
- Why is there a difference?
- When the classes were included with Java 6 the package name had to be
changed from
org.jdesktop.layout.* to javax.swing.* .
- What if I choose the wrong one?
- You will get many errors saying that
org.jdesktop.layout.* or
javax.swing.* is not found.
|