Previous Next        Current Page: NeXtMidas Training / NetBeans - Part 2 (GUIs) / Using the GUI Builder / Demo / Step 2 - Edit 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)   
   + 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   
Applets & WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • Editing the GUI Form:
    1. The GUI form should be created with your specified name graphicslab2.java. The NetBeans GUI form editor has two view modes: Source and Design, which is selectable right underneath the filename tab. Select the Design mode for the graphical form editor.
    2. Set your form layout to use the Free Design layout manager, right-click on the form (i.e. the gray box area) and select Set Layout -> Free Design
      Click image for larger view.
    3. Among the windows visible in the NetBeans display there should be the three specific windows described below. These windows can be moved (drag and drop) to your prefered location within NetBeans. If you do not see them, you can display them by selecting them from the Window menu.
      • Palette - list all available GUI widgets, including the NeXtMidas MidasDisplay and MidasControl widgets, which should be underneath Beans near the bottom of the list.
      • Properties - list the properties of all the selected widgets, allowing you to set/modify it's values.
      • Inspector - list all the widgets on the GUI form (some of which may be hidden and so will fall under "Other Components") and shows their containment relation