Current Page:
NeXtMidas Training
NetBeans - Part 2 (GUIs)
Lab1
Solution
+
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)
+
NetBeans - Part 1 (Setup)
-
NetBeans - Part 2 (GUIs)
+
Setting up the GUI Builder
+
Matisse
+
Using the GUI Builder
-
Lab1
-
Instructions
-
Solution
+
NetBeans - Part 3 (Profiler)
+
Eclipse - Part 1 (Setup)
+
Eclipse - Part 2 (GUIs)
+
Primitives
+
Applets & WebStart
+
Maps & Imagery
+
X-Midas Interoperability
+
RMIF & Remoting
+
Installing NeXtMidas
+
Support & Maintenance
+
File Handlers
Lab 1 - Building a GUI
(Solution)
:
Build the GUI form and run the macro using the SWING GUI form that was designed
nM> bld graphicslab3 mcr train nM> graphicslab3
/jsetup
Since most of this lab was left to your own creativity you can have any reasonable looking GUI.
Ours looks like this:
Click image for larger view.
Click image for larger view.
This is the resulting code generated:
graphicslab3.java
- The Java Class
graphicslab3.form
- The GUI-Builder Information File