
/* Begin user code block <abstract> */
/* End user code block <abstract> */

/**
 * README: Portions of this file are merged at file generation
 * time. Edits can be made *only* in between specified code blocks, look
 * for keywords <Begin user code> and <End user code>.
 */
/*
 * Generated by the ICS Builder Xcessory (BX).
 *
 * BuilderXcessory Version 6.1.3
 * Code Generator Xcessory 6.1.3 (08/19/04) CGX Scripts 6.1 Motif 2.1 
 *
 */


/* Begin user code block <file_comments> */
/* End user code block <file_comments> */

#include <Xm/Xm.h>
#include <Xm/MainW.h>
#include <Xm/DialogS.h>
#include <Xm/MwmUtil.h>
#include <Xm/Form.h>
#include <Xm/Scale.h>
#include <Xm/Label.h>
#include <Xm/PushB.h>
#include <Xm/RowColumn.h>
#include <Xm/ToggleB.h>
#include <Xm/Text.h>
#include <Xm/FileSB.h>
#include <Xm/BulletinB.h>
#include <Xm/Separator.h>
#include <Xm/CascadeB.h>
#include <Xm/ScrolledW.h>
#include <Xm/List.h>
#include <Xm/MainW.h>
#include <Xm/DialogS.h>
#include <Xm/MwmUtil.h>
#include <Xm/Form.h>
#include <Xm/Scale.h>
#include <Xm/Label.h>
#include <Xm/PushB.h>
#include <Xm/RowColumn.h>
#include <Xm/ToggleB.h>
#include <Xm/Text.h>
#include <Xm/FileSB.h>
#include <Xm/BulletinB.h>
#include <Xm/Separator.h>
#include <Xm/CascadeB.h>
#include <Xm/ScrolledW.h>
#include <Xm/List.h>

/*
 * Global declarations are now stored in the header file.
 *
 * If DECLARE_BX_GLOBALS is defined then this header file
 * declares the globals, otherwise it just externs them.
 */
#define DECLARE_BX_GLOBALS

/**
 * Globally included information.
 */


/**
 * Common constant and pixmap declarations.
 */
#include "mbeditviz_creation.h"

/**
 * Convenience functions from utilities file.
 */
extern void RegisterBxConverters(XtAppContext);
extern XtPointer BX_CONVERT(Widget, char *, char *, int, Boolean *);
extern XtPointer BX_DOUBLE(double);
extern XtPointer BX_SINGLE(float);
extern void BX_MENU_POST(Widget, XtPointer, XEvent *, Boolean *);
extern Pixmap XPM_PIXMAP(Widget, char **);
extern void BX_SET_BACKGROUND_COLOR(Widget, ArgList, Cardinal *, Pixel);

/**
 * Declarations for callbacks and handlers.
 */
extern void do_mbeditviz_quit(Widget, XtPointer, XtPointer);
extern void BxExitCB(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_changecellsize(Widget, XtPointer, XtPointer);
extern void BxUnmanageCB(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_updategrid(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_openfile(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_changeoutputmode(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_fileSelectionBox_openswath(Widget, XtPointer, XtPointer);
extern void BxManageCB(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_regrid(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_deleteselected(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_viewselected(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_viewall(Widget, XtPointer, XtPointer);
extern void do_mbeditviz_mode_change(Widget, XtPointer, XtPointer);

/**
 * Create the mainWindow_mbeditviz hierarchy of widgets.
 */
Widget
CreatemainWindow_mbeditviz(Widget parent)
{
    Cardinal ac = 0;
    Arg      args[256];
    Boolean  argok = False;
    Widget   mainWindow_mbeditviz;
    Widget   dialogShell_gridparameters;
    Widget   form_gridparameters;
    Widget   pushButton_gridparameters_dismiss;
    Widget   pushButton_gridparameters_apply;
    Widget   label_outputmode;
    Widget   label_open_mbio;
    Widget   label_mbeditviz_patience;
    Widget   dialogShell_about;
    Widget   bulletinBoard_about;
    Widget   label_about_authors;
    Widget   label_about_MBARI;
    Widget   label_about_LDEO;
    Widget   separator3;
    Widget   label_about_mbsystem;
    Widget   separator1;
    Widget   label_about_title;
    Widget   pushButton_about_dismiss;
    Widget   menuBar_mbeditviz;
    Widget   cascadeButton_file;
    Widget   pulldownMenu_file;
    Widget   separator2;
    Widget   pushButton_quit;
    Widget   cascadeButton_options;
    Widget   pulldownMenu_options;
    Widget   cascadeButton_help;
    Widget   pulldownMenu_help;
    Widget   pushButton_help_about;
    Widget   form_mbeditviz;
    Widget   label_status;
    Widget   label_programmode;
    Widget   radioBox_programmode;
    Widget   label_filelist;
    Widget   scrolledWindow_mbeditviz;
    
    /**
     * Register the converters for the widgets.
     */
    RegisterBxConverters(XtWidgetToApplicationContext(parent));
    XtInitializeWidgetClass((WidgetClass)xmMainWindowWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmDialogShellWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmFormWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmScaleWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmLabelWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmPushButtonWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmRowColumnWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmToggleButtonWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmTextWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmFileSelectionBoxWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmBulletinBoardWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmSeparatorWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmRowColumnWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmCascadeButtonWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmRowColumnWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmFormWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmScrolledWindowWidgetClass);
    XtInitializeWidgetClass((WidgetClass)xmListWidgetClass);
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 69); ac++;
    XtSetArg(args[ac], XmNy, 431); ac++;
    XtSetArg(args[ac], XmNwidth, 453); ac++;
    XtSetArg(args[ac], XmNheight, 557); ac++;
    mainWindow_mbeditviz = XmCreateMainWindow(parent,
        (char *)"mainWindow_mbeditviz",
        args, 
        ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNpacking, XmPACK_TIGHT); ac++;
    XtSetArg(args[ac], XmNwidth, 453); ac++;
    XtSetArg(args[ac], XmNheight, 34); ac++;
    menuBar_mbeditviz = XmCreateMenuBar(mainWindow_mbeditviz,
        (char *)"menuBar_mbeditviz",
        args, 
        ac);
    XtManageChild(menuBar_mbeditviz);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(menuBar_mbeditviz, (char *)"File", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 5); ac++;
        XtSetArg(args[ac], XmNy, 5); ac++;
        XtSetArg(args[ac], XmNwidth, 41); ac++;
        XtSetArg(args[ac], XmNheight, 24); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(menuBar_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        cascadeButton_file = XmCreateCascadeButton(menuBar_mbeditviz,
            (char *)"cascadeButton_file",
            args, 
            ac);
        XtManageChild(cascadeButton_file);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 0); ac++;
    XtSetArg(args[ac], XmNy, 0); ac++;
    XtSetArg(args[ac], XmNwidth, 132); ac++;
    XtSetArg(args[ac], XmNheight, 54); ac++;
    pulldownMenu_file = XmCreatePulldownMenu(XtParent(cascadeButton_file),
        (char *)"pulldownMenu_file",
        args, 
        ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(pulldownMenu_file, (char *)"Open Swath Data", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(pulldownMenu_file, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_openswath = XmCreatePushButton(pulldownMenu_file,
            (char *)"pushButton_openswath",
            args, 
            ac);
        XtManageChild(pushButton_openswath);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_openswath, XmNactivateCallback, do_mbeditviz_fileSelectionBox_openswath, (XtPointer)0);
    XtAddCallback(pushButton_openswath, XmNactivateCallback, BxManageCB, (XtPointer)"form_open");
    
    ac = 0;
    separator2 = XmCreateSeparator(pulldownMenu_file,
        (char *)"separator2",
        args, 
        ac);
    XtManageChild(separator2);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(pulldownMenu_file, (char *)"Quit", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(pulldownMenu_file, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_quit = XmCreatePushButton(pulldownMenu_file,
            (char *)"pushButton_quit",
            args, 
            ac);
        XtManageChild(pushButton_quit);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_quit, XmNactivateCallback, do_mbeditviz_quit, (XtPointer)0);
    XtAddCallback(pushButton_quit, XmNactivateCallback, BxExitCB, (XtPointer)0);
    
    ac = 0;
    XtSetArg(args[ac], XmNsubMenuId, pulldownMenu_file); ac++;
    XtSetValues(cascadeButton_file, args, ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(menuBar_mbeditviz, (char *)"Options", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 46); ac++;
        XtSetArg(args[ac], XmNy, 5); ac++;
        XtSetArg(args[ac], XmNwidth, 72); ac++;
        XtSetArg(args[ac], XmNheight, 24); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(menuBar_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        cascadeButton_options = XmCreateCascadeButton(menuBar_mbeditviz,
            (char *)"cascadeButton_options",
            args, 
            ac);
        XtManageChild(cascadeButton_options);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 0); ac++;
    XtSetArg(args[ac], XmNy, 0); ac++;
    XtSetArg(args[ac], XmNwidth, 142); ac++;
    XtSetArg(args[ac], XmNheight, 28); ac++;
    pulldownMenu_options = XmCreatePulldownMenu(XtParent(cascadeButton_options),
        (char *)"pulldownMenu_options",
        args, 
        ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(pulldownMenu_options, (char *)"Generate New Grid", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(pulldownMenu_options, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_updategrid = XmCreatePushButton(pulldownMenu_options,
            (char *)"pushButton_updategrid",
            args, 
            ac);
        XtManageChild(pushButton_updategrid);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_updategrid, XmNactivateCallback, BxManageCB, (XtPointer)"form_gridparameters");
    XtAddCallback(pushButton_updategrid, XmNactivateCallback, do_mbeditviz_regrid, (XtPointer)0);
    
    ac = 0;
    XtSetArg(args[ac], XmNsubMenuId, pulldownMenu_options); ac++;
    XtSetValues(cascadeButton_options, args, ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(menuBar_mbeditviz, (char *)"Help", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 401); ac++;
        XtSetArg(args[ac], XmNy, 5); ac++;
        XtSetArg(args[ac], XmNwidth, 47); ac++;
        XtSetArg(args[ac], XmNheight, 24); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(menuBar_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        cascadeButton_help = XmCreateCascadeButton(menuBar_mbeditviz,
            (char *)"cascadeButton_help",
            args, 
            ac);
        XtManageChild(cascadeButton_help);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 0); ac++;
    XtSetArg(args[ac], XmNy, 0); ac++;
    XtSetArg(args[ac], XmNwidth, 54); ac++;
    XtSetArg(args[ac], XmNheight, 28); ac++;
    pulldownMenu_help = XmCreatePulldownMenu(XtParent(cascadeButton_help),
        (char *)"pulldownMenu_help",
        args, 
        ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(pulldownMenu_help, (char *)"About", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(pulldownMenu_help, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_help_about = XmCreatePushButton(pulldownMenu_help,
            (char *)"pushButton_help_about",
            args, 
            ac);
        XtManageChild(pushButton_help_about);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_help_about, XmNactivateCallback, BxManageCB, (XtPointer)"bulletinBoard_about");
    
    ac = 0;
    XtSetArg(args[ac], XmNsubMenuId, pulldownMenu_help); ac++;
    XtSetValues(cascadeButton_help, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNresizePolicy, XmRESIZE_GROW); ac++;
    XtSetArg(args[ac], XmNwidth, 453); ac++;
    XtSetArg(args[ac], XmNheight, 523); ac++;
    form_mbeditviz = XmCreateForm(mainWindow_mbeditviz,
        (char *)"form_mbeditviz",
        args, 
        ac);
    XtManageChild(form_mbeditviz);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_mbeditviz, (char *)"Status:", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 0); ac++;
        XtSetArg(args[ac], XmNy, 0); ac++;
        XtSetArg(args[ac], XmNwidth, 210); ac++;
        XtSetArg(args[ac], XmNheight, 30); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_status = XmCreateLabel(form_mbeditviz,
            (char *)"label_status",
            args, 
            ac);
        XtManageChild(label_status);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_mbeditviz, (char *)":::t\"Available Files: 0\":t\"Loaded Files: 0\":t\"Grid Bounds:\":t\"     Longitude: 0.00 0.00\":t\"     Latitude: 0.00 0.00\":t\"Grid Spacing: 10.0 m\"\"Mode: Edit Bathymetry\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNborderWidth, 1); ac++;
        XtSetArg(args[ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++;
        XtSetArg(args[ac], XmNbackground, 
            BX_CONVERT(form_mbeditviz, (char *)"white", 
            XmRPixel, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNborderColor, 
            BX_CONVERT(form_mbeditviz, (char *)"black", 
            XmRPixel, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNrecomputeSize, False); ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 30); ac++;
        XtSetArg(args[ac], XmNwidth, 196); ac++;
        XtSetArg(args[ac], XmNheight, 150); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_mbeditviz_status = XmCreateLabel(form_mbeditviz,
            (char *)"label_mbeditviz_status",
            args, 
            ac);
        XtManageChild(label_mbeditviz_status);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_mbeditviz, (char *)"Mode:", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 260); ac++;
        XtSetArg(args[ac], XmNy, 0); ac++;
        XtSetArg(args[ac], XmNwidth, 150); ac++;
        XtSetArg(args[ac], XmNheight, 30); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_programmode = XmCreateLabel(form_mbeditviz,
            (char *)"label_programmode",
            args, 
            ac);
        XtManageChild(label_programmode);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 260); ac++;
    XtSetArg(args[ac], XmNy, 30); ac++;
    XtSetArg(args[ac], XmNwidth, 144); ac++;
    XtSetArg(args[ac], XmNheight, 65); ac++;
    XtSetArg(args[ac], XmNisHomogeneous, False); ac++;
    radioBox_programmode = XmCreateRadioBox(form_mbeditviz,
        (char *)"radioBox_programmode",
        args, 
        ac);
    XtManageChild(radioBox_programmode);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(radioBox_programmode, (char *)"Edit Bathymetry", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNwidth, 138); ac++;
        XtSetArg(args[ac], XmNheight, 28); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(radioBox_programmode, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        toggleButton_mode_edit = XmCreateToggleButton(radioBox_programmode,
            (char *)"toggleButton_mode_edit",
            args, 
            ac);
        XtManageChild(toggleButton_mode_edit);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(toggleButton_mode_edit, XmNvalueChangedCallback, do_mbeditviz_mode_change, (XtPointer)0);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(radioBox_programmode, (char *)"Browse Only", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNwidth, 138); ac++;
        XtSetArg(args[ac], XmNheight, 28); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(radioBox_programmode, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        toggleButton_mode_browse = XmCreateToggleButton(radioBox_programmode,
            (char *)"toggleButton_mode_browse",
            args, 
            ac);
        XtManageChild(toggleButton_mode_browse);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_mbeditviz, (char *)":::t\"Remove\":t\"Selected\"\"Files\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 376); ac++;
        XtSetArg(args[ac], XmNy, 100); ac++;
        XtSetArg(args[ac], XmNwidth, 70); ac++;
        XtSetArg(args[ac], XmNheight, 70); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_deleteselected = XmCreatePushButton(form_mbeditviz,
            (char *)"pushButton_deleteselected",
            args, 
            ac);
        XtManageChild(pushButton_deleteselected);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_deleteselected, XmNactivateCallback, do_mbeditviz_deleteselected, (XtPointer)0);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_mbeditviz, (char *)":::t\"View\":t\"Selected\"\"Files\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 296); ac++;
        XtSetArg(args[ac], XmNy, 100); ac++;
        XtSetArg(args[ac], XmNwidth, 70); ac++;
        XtSetArg(args[ac], XmNheight, 70); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_viewselected = XmCreatePushButton(form_mbeditviz,
            (char *)"pushButton_viewselected",
            args, 
            ac);
        XtManageChild(pushButton_viewselected);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_viewselected, XmNactivateCallback, do_mbeditviz_viewselected, (XtPointer)0);
    XtAddCallback(pushButton_viewselected, XmNactivateCallback, BxManageCB, (XtPointer)"form_gridparameters");
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_mbeditviz, (char *)":::t\"View\":t\"All\"\"Files\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 220); ac++;
        XtSetArg(args[ac], XmNy, 100); ac++;
        XtSetArg(args[ac], XmNwidth, 70); ac++;
        XtSetArg(args[ac], XmNheight, 70); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_viewall = XmCreatePushButton(form_mbeditviz,
            (char *)"pushButton_viewall",
            args, 
            ac);
        XtManageChild(pushButton_viewall);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_viewall, XmNactivateCallback, do_mbeditviz_viewall, (XtPointer)0);
    XtAddCallback(pushButton_viewall, XmNactivateCallback, BxManageCB, (XtPointer)"form_gridparameters");
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_mbeditviz, (char *)"Swath Files:", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 190); ac++;
        XtSetArg(args[ac], XmNwidth, 435); ac++;
        XtSetArg(args[ac], XmNheight, 30); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_filelist = XmCreateLabel(form_mbeditviz,
            (char *)"label_filelist",
            args, 
            ac);
        XtManageChild(label_filelist);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNscrollingPolicy, XmAPPLICATION_DEFINED); ac++;
    XtSetArg(args[ac], XmNx, 10); ac++;
    XtSetArg(args[ac], XmNy, 220); ac++;
    XtSetArg(args[ac], XmNwidth, 435); ac++;
    XtSetArg(args[ac], XmNheight, 289); ac++;
    scrolledWindow_mbeditviz = XmCreateScrolledWindow(form_mbeditviz,
        (char *)"scrolledWindow_mbeditviz",
        args, 
        ac);
    XtManageChild(scrolledWindow_mbeditviz);
    
    ac = 0;
    XtSetArg(args[ac], XmNselectionPolicy, XmEXTENDED_SELECT); ac++;
    XtSetArg(args[ac], XmNwidth, 435); ac++;
    XtSetArg(args[ac], XmNheight, 289); ac++;
    XtSetArg(args[ac], XmNfontList, 
        BX_CONVERT(scrolledWindow_mbeditviz, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
        XmRFontList, 0, &argok)); if (argok) ac++;
    list_filelist = XmCreateList(scrolledWindow_mbeditviz,
        (char *)"list_filelist",
        args, 
        ac);
    XtManageChild(list_filelist);
    
    ac = 0;
    XtSetArg(args[ac], XmNtitle, "About MBeditviz..."); ac++;
    XtSetArg(args[ac], XmNwidth, 463); ac++;
    XtSetArg(args[ac], XmNheight, 531); ac++;
    dialogShell_about = XmCreateDialogShell(mainWindow_mbeditviz,
        (char *)"dialogShell_about",
        args, 
        ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNresizePolicy, XmRESIZE_GROW); ac++;
    XtSetArg(args[ac], XmNx, 871); ac++;
    XtSetArg(args[ac], XmNy, 559); ac++;
    XtSetArg(args[ac], XmNwidth, 463); ac++;
    XtSetArg(args[ac], XmNheight, 531); ac++;
    bulletinBoard_about = XtCreateWidget((char *)"bulletinBoard_about",
        xmBulletinBoardWidgetClass,
        dialogShell_about,
        args, 
        ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_about, (char *)"::#TimesMedium14:t\"MB-System Release 5.0.8\"#TimesMedium14\"February 2, 2006\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_about, (char *)"-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-medium-r-*-*-*-140-*-*-*-*-iso8859-1=TimesMedium14", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNrecomputeSize, False); ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 410); ac++;
        XtSetArg(args[ac], XmNwidth, 440); ac++;
        XtSetArg(args[ac], XmNheight, 50); ac++;
        label_about_version = XmCreateLabel(bulletinBoard_about,
            (char *)"label_about_version",
            args, 
            ac);
        XtManageChild(label_about_version);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_about, (char *)"::#TimesBold14:t\"Created By:\"#TimesBold14\"David W. Caress   and   Dale N. Chayes \"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_about, (char *)"-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 280); ac++;
        XtSetArg(args[ac], XmNwidth, 440); ac++;
        XtSetArg(args[ac], XmNheight, 60); ac++;
        label_about_authors = XmCreateLabel(bulletinBoard_about,
            (char *)"label_about_authors",
            args, 
            ac);
        XtManageChild(label_about_authors);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_about, (char *)"::#TimesBold12:t\"Monterey Bay\"#TimesBold12:t\"Aquarium\"#TimesBold12\"Research Institute\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_about, (char *)"-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 70); ac++;
        XtSetArg(args[ac], XmNy, 340); ac++;
        XtSetArg(args[ac], XmNwidth, 140); ac++;
        XtSetArg(args[ac], XmNheight, 80); ac++;
        label_about_MBARI = XmCreateLabel(bulletinBoard_about,
            (char *)"label_about_MBARI",
            args, 
            ac);
        XtManageChild(label_about_MBARI);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_about, (char *)"::#TimesBold12:t\"Lamont-Doherty\"#TimesBold12:t\"Earth Observatory\"#TimesBold12\"of Columbia University\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_about, (char *)"-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-120-*-*-*-*-iso8859-1=TimesBold12", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 230); ac++;
        XtSetArg(args[ac], XmNy, 340); ac++;
        XtSetArg(args[ac], XmNwidth, 180); ac++;
        XtSetArg(args[ac], XmNheight, 80); ac++;
        label_about_LDEO = XmCreateLabel(bulletinBoard_about,
            (char *)"label_about_LDEO",
            args, 
            ac);
        XtManageChild(label_about_LDEO);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 10); ac++;
    XtSetArg(args[ac], XmNy, 260); ac++;
    XtSetArg(args[ac], XmNwidth, 440); ac++;
    XtSetArg(args[ac], XmNheight, 20); ac++;
    separator3 = XmCreateSeparator(bulletinBoard_about,
        (char *)"separator3",
        args, 
        ac);
    XtManageChild(separator3);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_about, (char *)"::#TimesBold14:t\"One component of the\"#TimesBold24\"MB-System\"#TimesBold14:t\"\"#TimesBold14:t\"An open Source Software Package\"#TimesBold14:t\"for Processing and Display\"#TimesBold14\"of Swath Sonar Data\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_about, (char *)"-*-times-bold-r-*-*-*-140-*-*-*-*-iso8859-1=TimesBold14,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 120); ac++;
        XtSetArg(args[ac], XmNwidth, 440); ac++;
        XtSetArg(args[ac], XmNheight, 140); ac++;
        label_about_mbsystem = XmCreateLabel(bulletinBoard_about,
            (char *)"label_about_mbsystem",
            args, 
            ac);
        XtManageChild(label_about_mbsystem);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 10); ac++;
    XtSetArg(args[ac], XmNy, 100); ac++;
    XtSetArg(args[ac], XmNwidth, 440); ac++;
    XtSetArg(args[ac], XmNheight, 20); ac++;
    separator1 = XmCreateSeparator(bulletinBoard_about,
        (char *)"separator1",
        args, 
        ac);
    XtManageChild(separator1);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_about, (char *)"::#TimesBold24\"MBeditviz\":t\"\"#TimesBold18:t\"Swath Bathymetry Editing\"#TimesBold18:t\"and\"#TimesBold18\"Patch Test Tool\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_about, (char *)"-*-times-bold-r-*-*-*-180-*-*-*-*-iso8859-1=TimesBold18,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24,-*-times-bold-r-*-*-*-240-*-*-*-*-iso8859-1=TimesBold24", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 10); ac++;
        XtSetArg(args[ac], XmNwidth, 440); ac++;
        XtSetArg(args[ac], XmNheight, 90); ac++;
        label_about_title = XmCreateLabel(bulletinBoard_about,
            (char *)"label_about_title",
            args, 
            ac);
        XtManageChild(label_about_title);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_about, (char *)"Dismiss", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 170); ac++;
        XtSetArg(args[ac], XmNy, 470); ac++;
        XtSetArg(args[ac], XmNwidth, 120); ac++;
        XtSetArg(args[ac], XmNheight, 50); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_about, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_about_dismiss = XmCreatePushButton(bulletinBoard_about,
            (char *)"pushButton_about_dismiss",
            args, 
            ac);
        XtManageChild(pushButton_about_dismiss);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_about_dismiss, XmNactivateCallback, BxUnmanageCB, (XtPointer)"bulletinBoard_about");
    
    ac = 0;
    XtSetArg(args[ac], XmNtitle, "Please Wait..."); ac++;
    XtSetArg(args[ac], XmNwidth, 409); ac++;
    XtSetArg(args[ac], XmNheight, 93); ac++;
    dialogShell_mbeditviz_message = XmCreateDialogShell(mainWindow_mbeditviz,
        (char *)"dialogShell_mbeditviz_message",
        args, 
        ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNresizePolicy, XmRESIZE_GROW); ac++;
    XtSetArg(args[ac], XmNx, 199); ac++;
    XtSetArg(args[ac], XmNy, 774); ac++;
    XtSetArg(args[ac], XmNwidth, 409); ac++;
    XtSetArg(args[ac], XmNheight, 93); ac++;
    bulletinBoard_mbeditviz_message = XtCreateWidget((char *)"bulletinBoard_mbeditviz_message",
        xmBulletinBoardWidgetClass,
        dialogShell_mbeditviz_message,
        args, 
        ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_mbeditviz_message, (char *)"Thank you for your patience...", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 50); ac++;
        XtSetArg(args[ac], XmNwidth, 350); ac++;
        XtSetArg(args[ac], XmNheight, 30); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_mbeditviz_message, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_mbeditviz_patience = XmCreateLabel(bulletinBoard_mbeditviz_message,
            (char *)"label_mbeditviz_patience",
            args, 
            ac);
        XtManageChild(label_mbeditviz_patience);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(bulletinBoard_mbeditviz_message, (char *)"Message...", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 10); ac++;
        XtSetArg(args[ac], XmNwidth, 380); ac++;
        XtSetArg(args[ac], XmNheight, 30); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(bulletinBoard_mbeditviz_message, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_mbeditviz_message = XmCreateLabel(bulletinBoard_mbeditviz_message,
            (char *)"label_mbeditviz_message",
            args, 
            ac);
        XtManageChild(label_mbeditviz_message);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNtitle, "Open Swath Data"); ac++;
    XtSetArg(args[ac], XmNwidth, 504); ac++;
    XtSetArg(args[ac], XmNheight, 550); ac++;
    dialogShell_open = XmCreateDialogShell(mainWindow_mbeditviz,
        (char *)"dialogShell_open",
        args, 
        ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNresizePolicy, XmRESIZE_GROW); ac++;
    XtSetArg(args[ac], XmNx, 451); ac++;
    XtSetArg(args[ac], XmNy, 578); ac++;
    XtSetArg(args[ac], XmNwidth, 504); ac++;
    XtSetArg(args[ac], XmNheight, 550); ac++;
    form_open = XtCreateWidget((char *)"form_open",
        xmFormWidgetClass,
        dialogShell_open,
        args, 
        ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 310); ac++;
    XtSetArg(args[ac], XmNy, 478); ac++;
    XtSetArg(args[ac], XmNwidth, 122); ac++;
    XtSetArg(args[ac], XmNheight, 65); ac++;
    XtSetArg(args[ac], XmNisHomogeneous, False); ac++;
    radioBox_openmode = XmCreateRadioBox(form_open,
        (char *)"radioBox_openmode",
        args, 
        ac);
    XtManageChild(radioBox_openmode);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(radioBox_openmode, (char *)"Output Edits", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNwidth, 116); ac++;
        XtSetArg(args[ac], XmNheight, 28); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(radioBox_openmode, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        toggleButton_openmodeedit = XmCreateToggleButton(radioBox_openmode,
            (char *)"toggleButton_openmodeedit",
            args, 
            ac);
        XtManageChild(toggleButton_openmodeedit);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(toggleButton_openmodeedit, XmNvalueChangedCallback, do_mbeditviz_changeoutputmode, (XtPointer)0);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(radioBox_openmode, (char *)"Browse Only", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNwidth, 116); ac++;
        XtSetArg(args[ac], XmNheight, 28); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(radioBox_openmode, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        toggleButton_openmodebrowse = XmCreateToggleButton(radioBox_openmode,
            (char *)"toggleButton_openmodebrowse",
            args, 
            ac);
        XtManageChild(toggleButton_openmodebrowse);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_open, (char *)"Output Mode:", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 200); ac++;
        XtSetArg(args[ac], XmNy, 497); ac++;
        XtSetArg(args[ac], XmNwidth, 120); ac++;
        XtSetArg(args[ac], XmNheight, 30); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_open, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_outputmode = XmCreateLabel(form_open,
            (char *)"label_outputmode",
            args, 
            ac);
        XtManageChild(label_outputmode);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNx, 120); ac++;
    XtSetArg(args[ac], XmNy, 490); ac++;
    XtSetArg(args[ac], XmNwidth, 70); ac++;
    XtSetArg(args[ac], XmNheight, 40); ac++;
    XtSetArg(args[ac], XmNfontList, 
        BX_CONVERT(form_open, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
        XmRFontList, 0, &argok)); if (argok) ac++;
    text_format = XmCreateText(form_open,
        (char *)"text_format",
        args, 
        ac);
    XtManageChild(text_format);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_open, (char *)"MBIO Format ID:", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++;
        XtSetArg(args[ac], XmNx, 0); ac++;
        XtSetArg(args[ac], XmNy, 497); ac++;
        XtSetArg(args[ac], XmNwidth, 130); ac++;
        XtSetArg(args[ac], XmNheight, 30); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_open, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_open_mbio = XmCreateLabel(form_open,
            (char *)"label_open_mbio",
            args, 
            ac);
        XtManageChild(label_open_mbio);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    XtSetArg(args[ac], XmNnoResize, True); ac++;
    XtSetArg(args[ac], XmNresizePolicy, XmRESIZE_GROW); ac++;
    XtSetArg(args[ac], XmNx, 0); ac++;
    XtSetArg(args[ac], XmNy, 0); ac++;
    XtSetArg(args[ac], XmNwidth, 498); ac++;
    XtSetArg(args[ac], XmNheight, 478); ac++;
    fileSelectionBox = XmCreateFileSelectionBox(form_open,
        (char *)"fileSelectionBox",
        args, 
        ac);
    XtManageChild(fileSelectionBox);
    XtAddCallback(fileSelectionBox, XmNokCallback, do_mbeditviz_openfile, (XtPointer)0);
    XtAddCallback(fileSelectionBox, XmNokCallback, BxUnmanageCB, (XtPointer)"form_open");
    XtAddCallback(fileSelectionBox, XmNcancelCallback, BxUnmanageCB, (XtPointer)"form_open");
    
    ac = 0;
    XtSetArg(args[ac], XmNtitle, "Grid Parameters"); ac++;
    XtSetArg(args[ac], XmNwidth, 453); ac++;
    XtSetArg(args[ac], XmNheight, 337); ac++;
    dialogShell_gridparameters = XmCreateDialogShell(mainWindow_mbeditviz,
        (char *)"dialogShell_gridparameters",
        args, 
        ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNresizePolicy, XmRESIZE_GROW); ac++;
    XtSetArg(args[ac], XmNx, 173); ac++;
    XtSetArg(args[ac], XmNy, 642); ac++;
    XtSetArg(args[ac], XmNwidth, 453); ac++;
    XtSetArg(args[ac], XmNheight, 337); ac++;
    form_gridparameters = XtCreateWidget((char *)"form_gridparameters",
        xmFormWidgetClass,
        dialogShell_gridparameters,
        args, 
        ac);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_gridparameters, (char *)"Grid Cell Size (m)", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNtitleString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNminimum, 1); ac++;
        XtSetArg(args[ac], XmNdecimalPoints, 1); ac++;
        XtSetArg(args[ac], XmNvalue, 10); ac++;
        XtSetArg(args[ac], XmNmaximum, 2500); ac++;
        XtSetArg(args[ac], XmNshowArrows, TRUE); ac++;
        XtSetArg(args[ac], XmNshowValue, TRUE); ac++;
        XtSetArg(args[ac], XmNhighlightThickness, 1); ac++;
        XtSetArg(args[ac], XmNorientation, XmHORIZONTAL); ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 128); ac++;
        XtSetArg(args[ac], XmNwidth, 430); ac++;
        XtSetArg(args[ac], XmNheight, 61); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_gridparameters, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        scale_cellsize = XmCreateScale(form_gridparameters,
            (char *)"scale_cellsize",
            args, 
            ac);
        XtManageChild(scale_cellsize);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(scale_cellsize, XmNvalueChangedCallback, do_mbeditviz_changecellsize, (XtPointer)0);
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_gridparameters, (char *)":::t\"Current Grid Parameters:\":t\"    Longitude: -151.56667 -150.00000\":t\"    Latitude:     23.4567 24.0000\":t\"    Cell Size: 10.00 m\"\"    Dimensions:  1234 X 2345\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNborderWidth, 0); ac++;
        XtSetArg(args[ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 10); ac++;
        XtSetArg(args[ac], XmNwidth, 432); ac++;
        XtSetArg(args[ac], XmNheight, 110); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_gridparameters, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_current = XmCreateLabel(form_gridparameters,
            (char *)"label_current",
            args, 
            ac);
        XtManageChild(label_current);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_gridparameters, (char *)":::t\"Selected Grid Parameters:\":t\"    Cell Size: 5.00 m\"\"    Dimensions 2345 X 3456\"", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNborderWidth, 1); ac++;
        XtSetArg(args[ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++;
        XtSetArg(args[ac], XmNbackground, 
            BX_CONVERT(form_gridparameters, (char *)"white", 
            XmRPixel, 0, &argok)); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 10); ac++;
        XtSetArg(args[ac], XmNy, 200); ac++;
        XtSetArg(args[ac], XmNwidth, 430); ac++;
        XtSetArg(args[ac], XmNheight, 70); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_gridparameters, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        label_implied = XmCreateLabel(form_gridparameters,
            (char *)"label_implied",
            args, 
            ac);
        XtManageChild(label_implied);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_gridparameters, (char *)"Dismiss", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 290); ac++;
        XtSetArg(args[ac], XmNy, 290); ac++;
        XtSetArg(args[ac], XmNwidth, 100); ac++;
        XtSetArg(args[ac], XmNheight, 32); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_gridparameters, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_gridparameters_dismiss = XmCreatePushButton(form_gridparameters,
            (char *)"pushButton_gridparameters_dismiss",
            args, 
            ac);
        XtManageChild(pushButton_gridparameters_dismiss);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_gridparameters_dismiss, XmNactivateCallback, BxUnmanageCB, (XtPointer)"form_gridparameters");
    
    ac = 0;
    {
        XmString    tmp0;
        
        tmp0 = (XmString) BX_CONVERT(form_gridparameters, (char *)"Apply", 
                XmRXmString, 0, &argok);
        XtSetArg(args[ac], XmNlabelString, tmp0); if (argok) ac++;
        XtSetArg(args[ac], XmNx, 70); ac++;
        XtSetArg(args[ac], XmNy, 290); ac++;
        XtSetArg(args[ac], XmNwidth, 100); ac++;
        XtSetArg(args[ac], XmNheight, 32); ac++;
        XtSetArg(args[ac], XmNfontList, 
            BX_CONVERT(form_gridparameters, (char *)"-*-helvetica-bold-r-*-*-*-140-75-75-*-*-iso8859-1", 
            XmRFontList, 0, &argok)); if (argok) ac++;
        pushButton_gridparameters_apply = XmCreatePushButton(form_gridparameters,
            (char *)"pushButton_gridparameters_apply",
            args, 
            ac);
        XtManageChild(pushButton_gridparameters_apply);
        
        /**
         * Free any memory allocated for resources.
         */
        XmStringFree((XmString)tmp0);
    }
    
    XtAddCallback(pushButton_gridparameters_apply, XmNactivateCallback, BxUnmanageCB, (XtPointer)"form_gridparameters");
    XtAddCallback(pushButton_gridparameters_apply, XmNactivateCallback, do_mbeditviz_updategrid, (XtPointer)0);
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 0); ac++;
    XtSetArg(args[ac], XmNleftOffset, 10); ac++;
    XtSetArg(args[ac], XmNrightOffset, 13); ac++;
    XtSetArg(args[ac], XmNtopOffset, 8); ac++;
    XtSetArg(args[ac], XmNtopWidget, label_current); ac++;
    XtSetValues(scale_cellsize, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftOffset, 10); ac++;
    XtSetArg(args[ac], XmNrightOffset, 11); ac++;
    XtSetArg(args[ac], XmNtopOffset, 10); ac++;
    XtSetValues(label_current, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 0); ac++;
    XtSetArg(args[ac], XmNleftOffset, 10); ac++;
    XtSetArg(args[ac], XmNrightOffset, 11); ac++;
    XtSetArg(args[ac], XmNtopOffset, 11); ac++;
    XtSetArg(args[ac], XmNtopWidget, scale_cellsize); ac++;
    XtSetValues(label_implied, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNrightOffset, 63); ac++;
    XtSetArg(args[ac], XmNtopOffset, 18); ac++;
    XtSetArg(args[ac], XmNtopWidget, label_implied); ac++;
    XtSetValues(pushButton_gridparameters_dismiss, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_WIDGET); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftOffset, 70); ac++;
    XtSetArg(args[ac], XmNtopOffset, 18); ac++;
    XtSetArg(args[ac], XmNtopWidget, label_implied); ac++;
    XtSetValues(pushButton_gridparameters_apply, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 7); ac++;
    XtSetArg(args[ac], XmNleftOffset, 310); ac++;
    XtSetValues(radioBox_openmode, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 23); ac++;
    XtSetArg(args[ac], XmNleftOffset, 200); ac++;
    XtSetValues(label_outputmode, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 20); ac++;
    XtSetArg(args[ac], XmNleftOffset, 120); ac++;
    XtSetValues(text_format, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 23); ac++;
    XtSetArg(args[ac], XmNleftOffset, 0); ac++;
    XtSetValues(label_open_mbio, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 72); ac++;
    XtSetArg(args[ac], XmNleftOffset, 0); ac++;
    XtSetArg(args[ac], XmNrightOffset, 6); ac++;
    XtSetArg(args[ac], XmNtopOffset, 0); ac++;
    XtSetValues(fileSelectionBox, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNmenuHelpWidget, cascadeButton_help); ac++;
    XtSetValues(menuBar_mbeditviz, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftOffset, 0); ac++;
    XtSetArg(args[ac], XmNrightOffset, 243); ac++;
    XtSetArg(args[ac], XmNtopOffset, 0); ac++;
    XtSetValues(label_status, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftOffset, 10); ac++;
    XtSetArg(args[ac], XmNrightOffset, 245); ac++;
    XtSetArg(args[ac], XmNtopOffset, 30); ac++;
    XtSetValues(label_mbeditviz_status, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 0); ac++;
    XtSetArg(args[ac], XmNrightOffset, 43); ac++;
    XtSetArg(args[ac], XmNtopOffset, 0); ac++;
    XtSetValues(label_programmode, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftOffset, 260); ac++;
    XtSetArg(args[ac], XmNtopOffset, 30); ac++;
    XtSetValues(radioBox_programmode, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
    XtSetArg(args[ac], XmNleftOffset, 10); ac++;
    XtSetArg(args[ac], XmNtopOffset, 100); ac++;
    XtSetArg(args[ac], XmNleftWidget, pushButton_viewselected); ac++;
    XtSetValues(pushButton_deleteselected, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
    XtSetArg(args[ac], XmNleftOffset, 6); ac++;
    XtSetArg(args[ac], XmNtopOffset, 100); ac++;
    XtSetArg(args[ac], XmNleftWidget, pushButton_viewall); ac++;
    XtSetValues(pushButton_viewselected, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_NONE); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_WIDGET); ac++;
    XtSetArg(args[ac], XmNleftOffset, 12); ac++;
    XtSetArg(args[ac], XmNrightOffset, 0); ac++;
    XtSetArg(args[ac], XmNtopOffset, 100); ac++;
    XtSetArg(args[ac], XmNleftWidget, label_mbeditviz_status); ac++;
    XtSetValues(pushButton_viewall, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftOffset, 10); ac++;
    XtSetArg(args[ac], XmNrightOffset, 8); ac++;
    XtSetArg(args[ac], XmNtopOffset, 190); ac++;
    XtSetValues(label_filelist, args, ac);
    
    ac = 0;
    XtSetArg(args[ac], XmNtopAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNrightAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNleftAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomAttachment, XmATTACH_FORM); ac++;
    XtSetArg(args[ac], XmNbottomOffset, 14); ac++;
    XtSetArg(args[ac], XmNleftOffset, 10); ac++;
    XtSetArg(args[ac], XmNrightOffset, 8); ac++;
    XtSetArg(args[ac], XmNtopOffset, 220); ac++;
    XtSetValues(scrolledWindow_mbeditviz, args, ac);
    
    
    
    /* Begin user code block <end_CreatemainWindow_mbeditviz> */
    /* End user code block <end_CreatemainWindow_mbeditviz> */
    return( mainWindow_mbeditviz );
}
