Previous Next        Current Page: NeXtMidas Training / NetBeans - Part 2 (GUIs) / Using the GUI Builder / Demo / Step 1 - Create GUI Form
back
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   
      - How Does it Work?   
      - Demo   
         - Step 1 - Create GUI Form   
         - Step 2 - Edit GUI Form   
         - Step 3 - Add Widget   
         - Step 4 - Add Widget Cont.   
         - Step 5 - Final Layout   
         - Step 6 - Using GUI Form   
      - Do I need a macro?   
   + Lab1   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • Creating the GUI Form:
    1. Open your NeXtMidas project in NetBeans.
    2. On the Files tab, under the Source Package tree, select your option tree by expanding "nxm", then "train" (where "train" is your option tree).
    3. Right-click on "mcr", and select New -> JFrame Form....
    4. For the Class Name, enter the name of the macro ("graphicslab2") that the GUI form will use (the name should be in lower-case and does not include a .mm extension), then press Finish button.
      Click image for larger view.

back