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


  • Creating the GUI Form:
    1. Open your NeXtMidas project in Eclipse.
    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 -> Other..., then in the window that appears select WindowBuilder -> Swing Designer -> JFrame.
    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.