• 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.