Setup Files

Setup files specify the layout of NeXtMidas panels. When PANEL runs, the primitive setup file is read to determine the initial layout of the panel.

The setup is defined in a file named after the macro with a mmp extension. Multiple setup files can be used for a single macro (with multiple panels or multiple layouts). The /SETUP= switch indicates which alternate setup file to use. The setup file resides in the same directory as the macro and follows this naming convention:

In X-Midas, setup files are numbers only. NeXtMidas allows strings such as a user name.

Setup files are plain-text tables which are modified by hand. However, the preferred way to create/modify a setup file is to run the macro, middle-click in a blank area, and select Configure->Modify.

This creates yellow borders which can be resized with the mouse. To attach a panel to an empty area (called a pane), middle-click and select Attach. Then, choose the plot, list, or other graphic window to attach. Once attached, you can middle-click on the pane and change the title.

When the layout edits are completed, select Configure->Save, and set the file name to save (the default name usually works).

Another way to layout an entire panel is with a GUI-builder. Go to JavaBeans for details.