Package Express.windows

Source Code of Express.windows.ExpressContainerWindow

/*
Copyright (c) 2003-2009 ITerative Consulting Pty Ltd. All Rights Reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:

o Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.
 
o Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distribution.
   
o This jcTOOL Helper Class software, whether in binary or source form may not be used within,
or to derive, any other product without the specific prior written permission of the copyright holder

 
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


*/
package Express.windows;

import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.KeyboardFocusManager;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.io.Serializable;

import javax.help.CSH;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.KeyStroke;
import javax.swing.ToolTipManager;
import javax.swing.UIManager;
import javax.swing.text.DefaultEditorKit;

import org.apache.log4j.Logger;

import DisplayProject.Constants;
import DisplayProject.CursorMgr;
import DisplayProject.DataField;
import DisplayProject.GridField;
import DisplayProject.LayoutManagerHelper;
import DisplayProject.PaletteList;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowFormLayout;
import DisplayProject.WindowManager;
import DisplayProject.actions.ColourChange;
import DisplayProject.actions.FrameColor;
import DisplayProject.actions.FrameWeight;
import DisplayProject.actions.HeightPolicy;
import DisplayProject.actions.StatusText;
import DisplayProject.actions.UserWindow;
import DisplayProject.actions.WidthPolicy;
import DisplayProject.actions.WindowDisplayState;
import DisplayProject.binding.BindingManager;
import DisplayProject.binding.beans.Observable;
import DisplayProject.controls.MenuList;
import DisplayProject.controls.MenuSeparator;
import DisplayProject.controls.Panel;
import DisplayProject.controls.TextGraphic;
import DisplayProject.events.ClientEventManager;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.DataFieldFactory;
import DisplayProject.factory.GraphicFactory;
import DisplayProject.factory.MenuFactory;
import DisplayProject.factory.PaletteListFactory;
import DisplayProject.factory.PushButtonFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import DisplayProject.printing.PrintActionListener;
import DisplayProject.printing.PrintSetupActionListener;
import Express.services.Array_Of_BusinessClass;
import Express.services.BusinessClass;
import Express.services.Error;
import Express.windows.interfaces.IApplicationBroker;
import Framework.Application;
import Framework.Array_Of_ListElement;
import Framework.Async;
import Framework.CancelException;
import Framework.ErrorDesc;
import Framework.ErrorMgr;
import Framework.EventHandle;
import Framework.EventManager;
import Framework.EventRegistration;
import Framework.EventRegistrationCallback;
import Framework.ForteKeyboardFocusManager;
import Framework.ImageData;
import Framework.IntegerData;
import Framework.ListElement;
import Framework.LogMgr;
import Framework.RuntimeProperties;
import Framework.TextData;

/**
* The ExpressContainerWindow class defines the attributes common to all windows that may contain links to other windows.
* <p>
* @author ITerative Consulting
* @since  26-Feb-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@UDSWindow()
@SuppressWarnings("serial")
public class ExpressContainerWindow
extends ExpressWindow
implements Serializable, Observable
{

  // ---------
  // Constants
  // ---------
  // -----------------
  // Event definitions
  // -----------------
  public static final String cEVENT_AFTER_CANCEL_WINDOW = "AfterCancelWindow";
  public static final String cEVENT_AFTER_FINISH_UP = "AfterFinishUp";
  public static final String cEVENT_AFTER_OPEN_WINDOW = "AfterOpenWindow";
  public static final String cEVENT_DISPLAY_DONE = "DisplayDone";
  public static final String cEVENT_DISPLAY_FAILED = "DisplayFailed";

  public static final int LT_COMMAND = 2;
  public static final int LT_DRILLDOWN = 4;
  public static final int LT_FOLDER = 3;
  public static final int LT_LOOKUP = 5;
  public static final int LT_NESTED = 1;
  public static final int ST_EDIT = 1;
  public static final int ST_SEARCH = 2;
  public static final int ST_VIEW = 3;
  public static final int WM_EDIT = 1;
  public static final int WM_SEARCH = 2;
  public static final int WS_DEFAULT = 0;
  public static final int WS_FOLDER = 4;
  public static final int WS_MODAL = 2;
  public static final int WS_MODELESS = 1;
  public static final int WS_NESTED = 3;

  // ----------
  // Attributes
  // ----------
  protected BindingManager bindingManager = null;
  private IApplicationBroker appBroker;
  private CommandMgr commandMgr;
  private boolean doNotDisplayWindow;
  private FolderMgr folderMgr;
  private boolean hasAdaptiveCommands;
  private boolean isInTestMode;
  private IntegerData maxIndex;
  private IntegerData recordIndex;
  private StatusLineDesc statusLine;
  private LinkInfo windowInfo;
  private boolean windowIsExiting;
  private TextData windowName;
  private boolean windowRegistered;
  private IntegerData indexBC;
  private IntegerData maxIndexBC;
  private TextData statusText;
  private IntegerData modeTC;
  private IntegerData indexTC;
  private IntegerData maxIndexTC;
  private IntegerData modeMC;

  // ------------
  // Constructors
  // ------------
  public ExpressContainerWindow() {
    // Explicitly call the superclass constructor to prevent the implicit call
    super();
    this.initialize();
  }

  protected void postConstructor() {

    this.initCommands();

    this.setStatusLine(new StatusLineDesc());
    this.setStatusText(new TextData());
    this.getStatusLine().setStatusText(this.getStatusText());
    StatusText.set(this, this.getStatusText());

    this.setModeMC(new IntegerData(1));
    this.setModeTC(this.getModeMC());

    //
    // we need to have index be a different object than the
    // indexes which we display directly on the window and
    // allow users to modify so that we know which record
    // was selected before the user typed in a new index.
    //
    this.setRecordIndex(new IntegerData());

    //
    // the two displayed indexes may share an object, however,
    // as can the max indexes.
    //
    this.setIndexTC(new IntegerData());
    this.setIndexBC(this.getIndexTC());

    this.setMaxIndex(new IntegerData());
    this.setMaxIndexTC(this.getMaxIndex());
    this.setMaxIndexBC(this.getMaxIndex());

  }

  // ----------------------
  // Accessors and Mutators
  // ----------------------
  protected BindingManager getBindingManager() {
    if (this.bindingManager == null) {
      this.bindingManager = new BindingManager(this);
    }
    return bindingManager;
  }

  public void setAppBroker(IApplicationBroker appBroker) {
    IApplicationBroker oldValue = this.appBroker;
    this.appBroker = appBroker;
    this.qq_Listeners.firePropertyChange("appBroker", oldValue, this.appBroker);
  }

  public IApplicationBroker getAppBroker() {
    return this.appBroker;
  }

  public void setCommandMgr(CommandMgr commandMgr) {
    CommandMgr oldValue = this.commandMgr;
    this.commandMgr = commandMgr;
    this.qq_Listeners.firePropertyChange("commandMgr", oldValue, this.commandMgr);
  }

  public CommandMgr getCommandMgr() {
    return this.commandMgr;
  }

  public void setDoNotDisplayWindow(boolean doNotDisplayWindow) {
    boolean oldValue = this.doNotDisplayWindow;
    this.doNotDisplayWindow = doNotDisplayWindow;
    this.qq_Listeners.firePropertyChange("doNotDisplayWindow", oldValue, this.doNotDisplayWindow);
  }

  public boolean getDoNotDisplayWindow() {
    return this.doNotDisplayWindow;
  }

  public void setFolderMgr(FolderMgr folderMgr) {
    FolderMgr oldValue = this.folderMgr;
    this.folderMgr = folderMgr;
    this.qq_Listeners.firePropertyChange("folderMgr", oldValue, this.folderMgr);
  }

  public FolderMgr getFolderMgr() {
    return this.folderMgr;
  }

  public void setHasAdaptiveCommands(boolean hasAdaptiveCommands) {
    boolean oldValue = this.hasAdaptiveCommands;
    this.hasAdaptiveCommands = hasAdaptiveCommands;
    this.qq_Listeners.firePropertyChange("hasAdaptiveCommands", oldValue, this.hasAdaptiveCommands);
  }

  public boolean getHasAdaptiveCommands() {
    return this.hasAdaptiveCommands;
  }

  public void setIsInTestMode(boolean isInTestMode) {
    boolean oldValue = this.isInTestMode;
    this.isInTestMode = isInTestMode;
    this.qq_Listeners.firePropertyChange("isInTestMode", oldValue, this.isInTestMode);
  }

  public boolean getIsInTestMode() {
    return this.isInTestMode;
  }

  public void setMaxIndex(IntegerData maxIndex) {
    IntegerData oldValue = this.maxIndex;
    this.maxIndex = maxIndex;
    this.qq_Listeners.firePropertyChange("maxIndex", oldValue, this.maxIndex);
  }

  public IntegerData getMaxIndex() {
    return this.maxIndex;
  }

  public void setRecordIndex(IntegerData recordIndex) {
    IntegerData oldValue = this.recordIndex;
    this.recordIndex = recordIndex;
    this.qq_Listeners.firePropertyChange("recordIndex", oldValue, this.recordIndex);
  }

  public IntegerData getRecordIndex() {
    return this.recordIndex;
  }

  public void setStatusLine(StatusLineDesc statusLine) {
    StatusLineDesc oldValue = this.statusLine;
    this.statusLine = statusLine;
    this.qq_Listeners.firePropertyChange("statusLine", oldValue, this.statusLine);
  }

  public StatusLineDesc getStatusLine() {
    return this.statusLine;
  }

  public void setWindowInfo(LinkInfo windowInfo) {
    LinkInfo oldValue = this.windowInfo;
    this.windowInfo = windowInfo;
    this.qq_Listeners.firePropertyChange("windowInfo", oldValue, this.windowInfo);
  }

  public LinkInfo getWindowInfo() {
    return this.windowInfo;
  }

  public void setWindowIsExiting(boolean windowIsExiting) {
    boolean oldValue = this.windowIsExiting;
    this.windowIsExiting = windowIsExiting;
    this.qq_Listeners.firePropertyChange("windowIsExiting", oldValue, this.windowIsExiting);
  }

  public boolean getWindowIsExiting() {
    return this.windowIsExiting;
  }

  public void setWindowName(TextData windowName) {
    TextData oldValue = this.windowName;
    this.windowName = windowName;
    this.qq_Listeners.firePropertyChange("windowName", oldValue, this.windowName);
  }

  public TextData getWindowName() {
    return this.windowName;
  }

  public void setWindowRegistered(boolean windowRegistered) {
    boolean oldValue = this.windowRegistered;
    this.windowRegistered = windowRegistered;
    this.qq_Listeners.firePropertyChange("windowRegistered", oldValue, this.windowRegistered);
  }

  public boolean getWindowRegistered() {
    return this.windowRegistered;
  }

  public void setIndexBC(IntegerData indexBC) {
    IntegerData oldValue = this.indexBC;
    this.indexBC = indexBC;
    this.qq_Listeners.firePropertyChange("indexBC", oldValue, this.indexBC);
  }

  public IntegerData getIndexBC() {
    return this.indexBC;
  }

  public void setMaxIndexBC(IntegerData maxIndexBC) {
    IntegerData oldValue = this.maxIndexBC;
    this.maxIndexBC = maxIndexBC;
    this.qq_Listeners.firePropertyChange("maxIndexBC", oldValue, this.maxIndexBC);
  }

  public IntegerData getMaxIndexBC() {
    return this.maxIndexBC;
  }

  public void setStatusText(TextData statusText) {
    TextData oldValue = this.statusText;
    this.statusText = statusText;
    this.qq_Listeners.firePropertyChange("statusText", oldValue, this.statusText);
  }

  public TextData getStatusText() {
    return this.statusText;
  }

  public void setModeTC(IntegerData modeTC) {
    IntegerData oldValue = this.modeTC;
    this.modeTC = modeTC;
    this.qq_Listeners.firePropertyChange("modeTC", oldValue, this.modeTC);
  }

  public IntegerData getModeTC() {
    return this.modeTC;
  }

  public void setIndexTC(IntegerData indexTC) {
    IntegerData oldValue = this.indexTC;
    this.indexTC = indexTC;
    this.qq_Listeners.firePropertyChange("indexTC", oldValue, this.indexTC);
  }

  public IntegerData getIndexTC() {
    return this.indexTC;
  }

  public void setMaxIndexTC(IntegerData maxIndexTC) {
    IntegerData oldValue = this.maxIndexTC;
    this.maxIndexTC = maxIndexTC;
    this.qq_Listeners.firePropertyChange("maxIndexTC", oldValue, this.maxIndexTC);
  }

  public IntegerData getMaxIndexTC() {
    return this.maxIndexTC;
  }

  public void setModeMC(IntegerData modeMC) {
    IntegerData oldValue = this.modeMC;
    this.modeMC = modeMC;
    this.qq_Listeners.firePropertyChange("modeMC", oldValue, this.modeMC);
  }

  public IntegerData getModeMC() {
    return this.modeMC;
  }

  // -------
  // Methods
  // -------
  /**
   * afterCommandLink<p>
   * AfterCommandLink<br>
   *     AfterCommandLink is a noop method that the express<br>
   *     developer can override to view and edit the contents<br>
   *     of the "Array of BusinessClass" parameter that was<br>
   *     returned by the Command Link Window.<br>
   * <p>
   * @param info Type: LinkInfo
   * @param data Type: Array_Of_BusinessClass<BusinessClass> (Input) (default in Forte: NIL)
   */
  public void afterCommandLink(LinkInfo info, Array_Of_BusinessClass<BusinessClass> data) {
  }
  /**
   * Same as {@link  #afterCommandLink(LinkInfo, Array_Of_BusinessClass)} with data default of null.
   * @param info
   */
  public void afterCommandLink(LinkInfo info){
    this.afterCommandLink(info, null);
  }

  /**
   * afterDrillDownLink<p>
   * AfterDrillDownLink<br>
   *     AfterDrillDownLink is a noop method that the express<br>
   *     developer can override to view and edit the contents<br>
   *     of the "Array of BusinessClass" parameter that was<br>
   *     returned by the DrillDown Window.<br>
   * <p>
   * @param info Type: LinkInfo
   * @param data Type: Array_Of_BusinessClass<BusinessClass> (Input) (default in Forte: NIL)
   */
  public void afterDrillDownLink(LinkInfo info, Array_Of_BusinessClass<BusinessClass> data) {
  }
  /**
   * Same as {@link #afterDrillDownLink(LinkInfo, Array_Of_BusinessClass) with data default of null.
   * @param info
   */
  public void afterDrillDownLink(LinkInfo info){
    this.afterDrillDownLink(info, null);
  }

  /**
   * afterFolderLink<p>
   * AfterCommandLink<br>
   *     AfterCommandLink is a noop method that the express<br>
   *     developer can override to view and edit the contents<br>
   *     of the "Array of BusinessClass" parameter that was<br>
   *     returned by the Folder Link Window.<br>
   * <p>
   * @param info Type: LinkInfo
   */
  public void afterFolderLink(LinkInfo info) {
  }

  /**
   * afterLookupLink<p>
   * AfterLookupLink<br>
   *     AfterLookupLink is a noop method that the express<br>
   *     developer can override to view and edit the contents<br>
   *     of the "Array of BusinessClass" parameter that was<br>
   *     returned by the Lookup Window.<br>
   * <p>
   * @param info Type: LinkInfo
   * @param data Type: Array_Of_BusinessClass<BusinessClass> (Input) (default in Forte: NIL)
   */
  public void afterLookupLink(LinkInfo info, Array_Of_BusinessClass<BusinessClass> data) {
  }

  /**
   * afterNestedLink<p>
   * AfterCommandLink<br>
   *     AfterCommandLink is a noop method that the express<br>
   *     developer can override to view and edit the contents<br>
   *     of the "Array of BusinessClass" parameter that was<br>
   *     returned by the Nested Link Window.<br>
   * <p>
   * @param info Type: LinkInfo
   */
  public void afterNestedLink(LinkInfo info) {
  }

  /**
   * basicEvents (Translation of Forte Event Handler)<p>
   * <p>
   * @return EventRegistration
   */
  public EventRegistration basicEvents() {
    EventRegistration qq_resultRegistration = new EventRegistration();

    // -----------------
    // AfterCancelWindow
    // -----------------
    qq_resultRegistration.addRegistration( ClientEventManager.register(
        this, ExpressContainerWindow.cEVENT_AFTER_CANCEL_WINDOW,
        new EventRegistrationCallback("ExpressContainerWindow_AfterCancelWindow_this")
        {
          public boolean handleEvent(EventHandle qq_currentEvent) {
            boolean qq_HandlerResult = true;
            qq_Block: try {
              try {
                CursorMgr.startEvent();
                // ================ Begin Forte Event Handler Translation ================
                qq_HandlerResult = false;
                break qq_Block;

              }
              catch (CancelException ce) {
                throw ce;

              }
              catch (Throwable qq_ElseException) {
                if (LogMgr.getInstance().test(Framework.Constants.SP_MT_DEBUG, Framework.Constants.SP_ST_EX, 30, 100) ) Logger.getLogger("task.part.logmgr").info(ExpressContainerWindow.this.getWindowName());
                if (LogMgr.getInstance().test(Framework.Constants.SP_MT_DEBUG, Framework.Constants.SP_ST_EX, 30, 100) ) Logger.getLogger("task.part.logmgr").info(": Got Exception.");
                if (!(ExpressContainerWindow.this.getIsInTestMode())) {
                  ErrorMgr.showErrors(null, "Error", qq_ElseException);;
                }
                else {
                  ErrorDesc err = (ErrorDesc)ErrorMgr.getAt(1);
                  if (err != null) {
                    Logger.getLogger("task.part.logmgr").info(err.getMessageText());
                  }
                }
                ExpressContainerWindow.this.getStatusLine().getStatusText().clear();
              }
              // ================= End Forte Event Handler Translation =================
            }
            finally {
              CursorMgr.endEvent();
            }
            return qq_HandlerResult;
          }
        }) );


    // -------------
    // AfterFinishUp
    // -------------
    qq_resultRegistration.addRegistration( ClientEventManager.register(
        this, ExpressContainerWindow.cEVENT_AFTER_FINISH_UP,
        new EventRegistrationCallback("ExpressContainerWindow_AfterFinishUp_this")
        {
          public boolean handleEvent(EventHandle qq_currentEvent) {
            boolean qq_HandlerResult = true;
            qq_Block: try {
              try {
                CursorMgr.startEvent();
                // ================ Begin Forte Event Handler Translation ================
                ExpressContainerWindow.this.getWindowInfo().getRecordIndex().setValue(ExpressContainerWindow.this.getRecordIndex().getValue());
                qq_HandlerResult = false;
                break qq_Block;

              }
              catch (CancelException ce) {
                throw ce;

              }
              catch (Throwable qq_ElseException) {
                if (LogMgr.getInstance().test(Framework.Constants.SP_MT_DEBUG, Framework.Constants.SP_ST_EX, 30, 100) ) Logger.getLogger("task.part.logmgr").info(ExpressContainerWindow.this.getWindowName());
                if (LogMgr.getInstance().test(Framework.Constants.SP_MT_DEBUG, Framework.Constants.SP_ST_EX, 30, 100) ) Logger.getLogger("task.part.logmgr").info(": Got Exception.");
                if (!(ExpressContainerWindow.this.getIsInTestMode())) {
                  ErrorMgr.showErrors(null, "Error", qq_ElseException);;
                }
                else {
                  ErrorDesc err = (ErrorDesc)ErrorMgr.getAt(1);
                  if (err != null) {
                    Logger.getLogger("task.part.logmgr").info(err.getMessageText());
                  }
                }
                ExpressContainerWindow.this.getStatusLine().getStatusText().clear();
              }
              // ================= End Forte Event Handler Translation =================
            }
            finally {
              CursorMgr.endEvent();
            }
            return qq_HandlerResult;
          }
        }) );


    // -------------
    // task.shutdown
    // -------------
    qq_resultRegistration.addRegistration( ClientEventManager.register(
        Thread.currentThread(), "Shutdown",
        new EventRegistrationCallback("TaskHandle_Shutdown_TaskcurrentTask")
        {
          public boolean handleEvent(EventHandle qq_currentEvent) {
            boolean qq_HandlerResult = true;
            qq_Block: try {
              try {
                CursorMgr.startEvent();
                // ================ Begin Forte Event Handler Translation ================
                qq_HandlerResult = false;
                break qq_Block;

              }
              catch (CancelException ce) {
                throw ce;

              }
              catch (Throwable qq_ElseException) {
                if (LogMgr.getInstance().test(Framework.Constants.SP_MT_DEBUG, Framework.Constants.SP_ST_EX, 30, 100) ) Logger.getLogger("task.part.logmgr").info(ExpressContainerWindow.this.getWindowName());
                if (LogMgr.getInstance().test(Framework.Constants.SP_MT_DEBUG, Framework.Constants.SP_ST_EX, 30, 100) ) Logger.getLogger("task.part.logmgr").info(": Got Exception.");
                if (!(ExpressContainerWindow.this.getIsInTestMode())) {
                  ErrorMgr.showErrors(null, "Error", qq_ElseException);;
                }
                else {
                  ErrorDesc err = (ErrorDesc)ErrorMgr.getAt(1);
                  if (err != null) {
                    Logger.getLogger("task.part.logmgr").info(err.getMessageText());
                  }
                }
                ExpressContainerWindow.this.getStatusLine().getStatusText().clear();
              }
              // ================= End Forte Event Handler Translation =================
            }
            finally {
              CursorMgr.endEvent();
            }
            return qq_HandlerResult;
          }
        }) );

    return qq_resultRegistration;
  }

  /**
   * beforeCommandLink<p>
   * BeforeCommandLink<br>
   *     BeforeCommandLink is a method that always returns TRUE.<br>
   *     The express developer can override this to view and<br>
   *     edit the contents of the LinkInfo parameter before<br>
   *     it is passed to the Command Window, and/or to<br>
   *     return FALSE if they do not want the Command Window to<br>
   *     be called.<br>
   * <p>
   * @param info Type: LinkInfo
   * @return boolean
   */
  public boolean beforeCommandLink(LinkInfo info) {
    return true;
  }

  /**
   * beforeDrillDownLink<p>
   * BeforeDrillDownLink<br>
   *     BeforeDrillDownLink is a method that always returns TRUE.<br>
   *     The express developer can override this to view and<br>
   *     edit the contents of the LinkInfo parameter before<br>
   *     it is passed to the DrillDown Window, and/or to return<br>
   *     FALSE it they do not want the Drilldown Window to be<br>
   *     called.<br>
   * <p>
   * @param info Type: LinkInfo
   * @return boolean
   */
  public boolean beforeDrillDownLink(LinkInfo info) {
    return true;
  }

  /**
   * beforeFolderLink<p>
   * BeforeFolderLink<br>
   *     BeforeFolderLink is a method that always returns TRUE.<br>
   *     The Express developer can override this method to view<br>
   *     and edit the contents of the LinkInfo parameter before<br>
   *     it is assigned to the Folder Window, and/or to return FALSE,<br>
   *     which will cause the folder window to not be initialized.<br>
   * <p>
   * @param info Type: LinkInfo
   * @return boolean
   */
  public boolean beforeFolderLink(LinkInfo info) {
    return true;
  }

  /**
   * beforeLookupLink<p>
   * BeforeLookupLink<br>
   *     BeforeLookupLink is a method that always returns TRUE.<br>
   *     The express developer can override this to view and<br>
   *     edit the contents of the LinkInfo parameter before<br>
   *     it is passed to the Lookup Window, and/or to return<br>
   *     FALSE if they do not want the Lookup Window to be<br>
   *     called.<br>
   * <p>
   * @param info Type: LinkInfo
   * @return boolean
   */
  public boolean beforeLookupLink(LinkInfo info) {
    return true;
  }

  /**
   * beforeNestedLink<p>
   * BeforeNestedLink<br>
   *     BeforeNestedLink is a method that always returns TRUE.<br>
   *     The Express developer can override this method to view and edit<br>
   *     the contents of the LinkInfo parameter before it is assigned<br>
   *     to the Nested Window, and/or to return FALSE, which<br>
   *     will cause the nested window to not be initialized.<br>
   * <p>
   * @param info Type: LinkInfo
   * @return boolean
   */
  public boolean beforeNestedLink(LinkInfo info) {
    return true;
  }

  /**
   * beforeWindowIsVisible<p>
   * BeforeWindowIsVisible<br>
   *     BeforeWindowIsVisible is a noop method that the express<br>
   *     developer can override to add code to be executed<br>
   *     just before the window's display state is set to<br>
   *     DS_NORMAL (it starts out hidden).<br>
   * <p>
   */
  public void beforeWindowIsVisible() {
  }

  /**
   * customEvents (Translation of Forte Event Handler)<p>
   * This event handler is overridden by customers<br>
   * when they want to register for user-defined<br>
   * events.<br>
   * <p>
   * @return EventRegistration
   */
  public EventRegistration customEvents() {
    EventRegistration qq_resultRegistration = new EventRegistration();
    return qq_resultRegistration;
  }

  /**
   * display<p>
   * Display<br>
   *     Display starts this window and displays it<br>
   *     according to the Preferences set in the info parameter.<br>
   *     If the info parameter is omitted, the Window uses<br>
   *     its default settings.<br>
   * <p>
   *     Returns the current result set when the user exits.<br>
   * <p>
   * @param info Type: LinkInfo (Input) (default in Forte: NIL)
   * @return Array_Of_BusinessClass<BusinessClass>
   */
  @Async(returnEvent="DisplayDone", exceptionEvent="DisplayFailed")
  public Array_Of_BusinessClass<BusinessClass> display(LinkInfo info) {
    boolean trace30100 = LogMgr.getInstance().test(Framework.Constants.SP_MT_DEBUG, Framework.Constants.SP_ST_EX, 30, 100);
    //
    // Get a pointer to the description of how this window
    // should work in this case.
    //
    try {
      this.setWindowInfo(info);

      //
      // Perform initialiation which must occur before the window
      // opens.
      //
      if (trace30100) {
        Logger.getLogger("task.part.logmgr").info(this.getWindowName());
        Logger.getLogger("task.part.logmgr").info(": About to do PreOpenInit.");
      }
      this.preOpenInit();

      //
      // open the window.
      //
      if (trace30100) {
        Logger.getLogger("task.part.logmgr").info(this.getWindowName());
        Logger.getLogger("task.part.logmgr").info(": About to open window.");
      }
      this.openWindow();

      //
      // Perform initialiation which must occur after the window
      // opens.
      //
      if (trace30100) {
        Logger.getLogger("task.part.logmgr").info(this.getWindowName());
        Logger.getLogger("task.part.logmgr").info(": About to do PostOpenInit.");
      }
      this.postOpenInit();

    }
    catch (CancelException ce) {
      throw ce;

    }
    catch (Throwable qq_ElseException) {
      if (trace30100) {
        Logger.getLogger("task.part.logmgr").info(this.getWindowName());
        Logger.getLogger("task.part.logmgr").info(": Got Exception.");
      }
      if (!(this.getIsInTestMode())) {
        ErrorMgr.showErrors(null, "Error", qq_ElseException);;
      }
      else {
        ErrorDesc err = (ErrorDesc)ErrorMgr.getAt(1);
        if (err != null) {
          Logger.getLogger("task.part.logmgr").info(err.getMessageText());
        }
      }
      this.getStatusLine().getStatusText().clear();
    }

    //
    // handle events
    //
    // ----------
    // Event Loop
    // ----------
    EventManager.startEventLoop();
    try {
      if (trace30100) {
        Logger.getLogger("task.part.logmgr").info(this.getWindowName());
        Logger.getLogger("task.part.logmgr").info(": Registering Window Events.");
      }

      this.windowEvents();

      if (trace30100) {
        Logger.getLogger("task.part.logmgr").info(this.getWindowName());
        Logger.getLogger("task.part.logmgr").info(": Registering Window with AppBroker.");
      }

      if (this.getWindowRegistered() == false) {
        this.getAppBroker().registerWindow(this);
        this.setWindowRegistered(true);
      }

      if (this.getqq_ToolBarGrid() != null) {
        this.repaint();
        WidthPolicy.set(this.getqq_ToolBarGrid(), Constants.SP_EXPLICIT);
      }

      this.beforeWindowIsVisible();
      this.repaint();

      if (this.getDoNotDisplayWindow() == false) {
        WindowDisplayState.set(this, Constants.DS_NORMAL);
      }

      if (trace30100) {
        Logger.getLogger("task.part.logmgr").info(this.getWindowName());
        Logger.getLogger("task.part.logmgr").info(": Posting AfterOpenWindow.");
      }

      EventManager.postEvent( this, ExpressContainerWindow.cEVENT_AFTER_OPEN_WINDOW );


      while (true) {

        UIutils.processGUIActions();
        EventHandle qq_currentEvent = EventManager.waitForEvent();
        if (qq_currentEvent == null)
          break;
      }
    }
    //catch (Exception qq_error) {
    //Logger.getLogger("task.part.Event").error("Event loop terminated by unhandled exception: " + qq_error.getMessage(), qq_error );
    //throw qq_error;
    //}
    finally {
      EventManager.endEventLoop();
    }

    UserWindow.close(this);

    if (trace30100) {
      Logger.getLogger("task.part.logmgr").info(this.getWindowName());
      Logger.getLogger("task.part.logmgr").info(": Unregistering Window with AppBroker.");
    }

    this.getAppBroker().unRegisterWindow(this);

    //
    // Deparent all widgets to make garbage collection work
    // better.
    //
    Runtime.getRuntime().gc();

    //
    // return the result set (the WindowInfo.TheIndex
    // variable points to the selected record).
    //
    return null;
  }

  /**
   * finishUp<p>
   * FinishUp<br>
   *     FinishUp is overridden to provide a method that exits<br>
   *     this window after saving any changes.<br>
   * <p>
   *     Confirm indicates if the method should warn the user<br>
   *       before closing.<br>
   * <p>
   *     Returns TRUE if window will exit, FALSE if user cancelled<br>
   *     operation.<br>
   * <p>
   * <p>
   * <p>
   * if we need to save some changes, first consider<br>
   * confirming this action with the user.<br>
   * <p>
   * @param confirm Type: boolean (Input) (default in Forte: FALSE)
   * @return boolean
   */
  public boolean finishUp(boolean confirm) {
    if (confirm == true) {
      int answer = 0;
      //
      // request confirmation
      //
      answer = this.getAppBroker().confirmationDialog(new TextData(this.getAppBroker().getLocalString(ApplicationBroker.MS_MESSAGE_SET, ApplicationBroker.MN_CONFIRM_CLOSE_CONTAINER)), this.getWindowName(), JOptionPane.YES_NO_OPTION, JOptionPane.YES_OPTION, 50, this.getAppBroker().getPreferences().getConfirmClose());
      //
      // if the user says YES, save changes and close the
      // window.  If the user says NO, don't save changes
      // but still close the window.  If the user says
      // CANCEL, don't close the window.
      //
      if (answer == JOptionPane.YES_OPTION) {
        EventManager.postEvent( this, ExpressContainerWindow.cEVENT_AFTER_FINISH_UP );
        return true;
      }
      else if (answer == JOptionPane.NO_OPTION) {
        this.getStatusText().setValue( this.getAppBroker().getLocalString(ApplicationBroker.MS_MESSAGE_SET, ApplicationBroker.MN_ABORTED_CLOSE) );
        return false;
      }
      else {
        return false;
      }

      //
      // by default, close the window and save the changes
      //
    }
    else {
      EventManager.postEvent( this, ExpressContainerWindow.cEVENT_AFTER_FINISH_UP );
      return true;
    }
  }

  /**
   * folderTabSelected<p>
   * FolderTabSelected<br>
   *     This is a noop method that the express<br>
   *     developer can override to add code to be executed<br>
   *     when a folder tab is selected. The "index"<br>
   *     argument gives the number of the folder tab that<br>
   *     was selected.<br>
   * <p>
   * @param index Type: int
   */
  public void folderTabSelected(int index) {
  }

  /**
   * getDefaults<p>
   * GetDefaults<br>
   *     GetDefaults sets the value of any parameters to the<br>
   *     display method which the caller omitted.<br>
   * <p>
   * @param info Type: LinkInfo
   */
  public void getDefaults(ParameterHolder_LinkInfo info) {
    throw new Error(Error.GEN_UNIMPLEMENTED, "ExpressContainerWindow.GetDefaults", this).getException();
  }

  /**
   * initCommands<p>
   * Init<br>
   *      Init initializes the Window.<br>
   * <p>
   */
  public void initCommands() {
    this.setCommandMgr(new CommandMgr());

    //
    // Get a pointer to the button commands
    //
    this.getCommandMgr().setButtonSet(new ButtonSetDesc());
    this.getCommandMgr().getButtonSet().setButtonGrid(this.getqq_ButtonGrid());
    this.getCommandMgr().getButtonSet().setCancelCMD(this.getqq_CancelBC());
    this.getCommandMgr().getButtonSet().setClearCMD(this.getqq_ClearBC());
    this.getCommandMgr().getButtonSet().setOKCMD(this.getqq_OKBC());
    this.getCommandMgr().getButtonSet().setInsertCMD(this.getqq_InsertBC());
    this.getCommandMgr().getButtonSet().setDeleteCMD(this.getqq_DeleteBC());
    this.getCommandMgr().getButtonSet().setFirstCMD(this.getqq_FirstBC());
    this.getCommandMgr().getButtonSet().setIndexesGrid(this.getqq_IndexesBCGrid());
    this.getCommandMgr().getButtonSet().setLastCMD(this.getqq_LastBC());
    this.getCommandMgr().getButtonSet().setNextCMD(this.getqq_NextBC());
    this.getCommandMgr().getButtonSet().setPrevCMD(this.getqq_PrevBC());
    this.getCommandMgr().getButtonSet().setSearchCMD(this.getqq_SearchBC());
    this.getCommandMgr().getButtonSet().setScrollBCGrid(this.getqq_ScrollBCGrid());
    this.getCommandMgr().getButtonSet().setSideBCGrid(this.getqq_SideBCGrid());

    //
    // Get a pointer to the toolbar commands
    //
    this.getCommandMgr().setToolbarSet(new ToolbarSetDesc());
    this.getCommandMgr().getToolbarSet().setClearCMD(this.getqq_ClearTC());
    this.getCommandMgr().getToolbarSet().setSaveCMD(this.getqq_SaveTC());
    this.getCommandMgr().getToolbarSet().setInsertCMD(this.getqq_InsertTC());
    this.getCommandMgr().getToolbarSet().setDeleteCMD(this.getqq_DeleteTC());
    this.getCommandMgr().getToolbarSet().setFirstCMD(this.getqq_FirstTC());
    this.getCommandMgr().getToolbarSet().setIndexesGrid(this.getqq_IndexesTCGrid());
    this.getCommandMgr().getToolbarSet().setLastCMD(this.getqq_LastTC());
    this.getCommandMgr().getToolbarSet().setNextCMD(this.getqq_NextTC());
    this.getCommandMgr().getToolbarSet().setPrevCMD(this.getqq_PrevTC());
    this.getCommandMgr().getToolbarSet().setSearchCMD(this.getqq_SearchTC());
    this.getCommandMgr().getToolbarSet().setModeCMD(this.getqq_ModeTC());
    this.getCommandMgr().getToolbarSet().setMode(new IntegerData());
    this.getCommandMgr().getToolbarSet().setScrollTCGrid(this.getqq_ScrollTCGrid());
    this.getCommandMgr().getToolbarSet().setToolbarGrid(this.getqq_ToolBarGrid());
    this.getCommandMgr().getToolbarSet().setEditTCGrid(this.getqq_EditTCGrid());

    //
    // Get a pointer to the menu commands
    //
    this.getCommandMgr().setMenuSet(new MenuSetDesc());
    this.getCommandMgr().getMenuSet().setWindow(this);
    this.getCommandMgr().getMenuSet().setCancelCMD(this.getqq_CancelMC());
    this.getCommandMgr().getMenuSet().setClearCMD(this.getqq_ClearMC());
    this.getCommandMgr().getMenuSet().setClearSP(this.getqq_ClearSP());
    this.getCommandMgr().getMenuSet().setCloseCMD(this.getqq_CloseMC());
    this.getCommandMgr().getMenuSet().setCloseSP(this.getqq_CloseSP());
    this.getCommandMgr().getMenuSet().setSaveCMD(this.getqq_SaveMC());
    this.getCommandMgr().getMenuSet().setSaveSP(this.getqq_SaveSP());
    this.getCommandMgr().getMenuSet().setInsertCMD(this.getqq_InsertMC());
    this.getCommandMgr().getMenuSet().setDeleteCMD(this.getqq_DeleteMC());
    this.getCommandMgr().getMenuSet().setEditCopyCMD(this.getqq_EditCopyMC());
    this.getCommandMgr().getMenuSet().setEditCutCMD(this.getqq_EditCutMC());
    this.getCommandMgr().getMenuSet().setEditDeleteCMD(this.getqq_EditDeleteMC());
    this.getCommandMgr().getMenuSet().setEditMenu(this.getqq_editMenu());
    this.getCommandMgr().getMenuSet().setEditPasteCMD(this.getqq_EditPasteMC());
    this.getCommandMgr().getMenuSet().setEditSelectAllCMD(this.getqq_EditSelectallMC());
    this.getCommandMgr().getMenuSet().setExitAllCMD(this.getqq_ExitAllMC());
    this.getCommandMgr().getMenuSet().setFileMenu(this.getqq_fileMenu());
    this.getCommandMgr().getMenuSet().setFirstCMD(this.getqq_FirstMC());
    this.getCommandMgr().getMenuSet().setLastCMD(this.getqq_LastMC());
    this.getCommandMgr().getMenuSet().setNextCMD(this.getqq_NextMC());
    this.getCommandMgr().getMenuSet().setPreferencesCMD(this.getqq_PreferencesMC());
    this.getCommandMgr().getMenuSet().setPreferencesSP(this.getqq_PreferencesSP());
    this.getCommandMgr().getMenuSet().setPrevCMD(this.getqq_PrevMC());
    this.getCommandMgr().getMenuSet().setPrintCMD(this.getqq_PrintMC());
    this.getCommandMgr().getMenuSet().setPrintSetupCMD(this.getqq_PrintSetupMC());
    this.getCommandMgr().getMenuSet().setPrintSP(this.getqq_PrintSP());
    this.getCommandMgr().getMenuSet().setSearchCMD(this.getqq_SearchMC());
    this.getCommandMgr().getMenuSet().setModeSP(this.getqq_ModeSP());
    this.getCommandMgr().getMenuSet().setModeCMD(this.getqq_ModeMC());
    this.getCommandMgr().getMenuSet().setResultSetMenu(this.getqq_resultSetMenu());
    this.getCommandMgr().getMenuSet().setScrollMenu(this.getqq_ScrollMenu());
    this.getCommandMgr().getMenuSet().setScrollSP(this.getqq_ScrollSP());
    this.getCommandMgr().getMenuSet().setScrollToSP(this.getqq_ScrollToSP());
    this.getCommandMgr().getMenuSet().setRevertCMD(this.getqq_RevertMC());
    this.getCommandMgr().getMenuSet().setRevertSP(this.getqq_RevertSP());

    if (this.getCommandMgr().getToolbarSet().getToolbarGrid() != null) {
      //
      // These icons are used as a workaround to a bug in the Fort�
      // display system on MS Windows 3.1.  The bug causes disabled
      // picture buttons with color icons to display a dark grey image.
      // As a workaround, we change the button's image and set the
      // button to inactive when we would otherwise make the button
      // disabled.
      //
      this.getCommandMgr().getToolbarSet().setClearDisabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_ClearDisabledIcon()));
      this.getCommandMgr().getToolbarSet().setClearEnabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_ClearIcon()));
      this.getCommandMgr().getToolbarSet().setSaveDisabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_SaveDisabledIcon()));
      this.getCommandMgr().getToolbarSet().setSaveEnabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_SaveIcon()));
      this.getCommandMgr().getToolbarSet().setInsertDisabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_InsertDisabledIcon()));
      this.getCommandMgr().getToolbarSet().setInsertEnabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_InsertIcon()));
      this.getCommandMgr().getToolbarSet().setDeleteDisabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_DeleteDisabledIcon()));
      this.getCommandMgr().getToolbarSet().setDeleteEnabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_DeleteIcon()));
      this.getCommandMgr().getToolbarSet().setSearchDisabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_SearchDisabledIcon()));
      this.getCommandMgr().getToolbarSet().setSearchEnabledIcon(DisplayProject.actions.PictureButtonImageValue.get(this.getAppBroker().getIcons().getqq_SearchIcon()));
    }
  }

  /**
   * initFolderLinks<p>
   * InitFolderLinks<br>
   *     InitFolderLinks is overridden in windows which have folder links.<br>
   * <p>
   */
  public void initFolderLinks() {
  }

  /**
   * initializingAsFolder<p>
   * InitializingAsFolder<br>
   *     InitializingAsFolder is a noop method that the express<br>
   *     developer can override to add code to be executed<br>
   *     when the window is being initialized as a folder<br>
   *     link from another window.<br>
   * <p>
   */
  public void initializingAsFolder() {
  }

  /**
   * initializingAsModal<p>
   * InitializingAsModal<br>
   *     InitializingAsModal is a noop method that the express<br>
   *     developer can override to add code to be executed<br>
   *     when the window is being initialized as a modal<br>
   *     link from another window.<br>
   * <p>
   */
  public void initializingAsModal() {
  }

  /**
   * initializingAsModeless<p>
   * InitializingAsModeless<br>
   *     InitializingAsModeless is a noop method that the express<br>
   *     developer can override to add code to be executed<br>
   *     when the window is being initialized as a Modeless<br>
   *     link from another window.<br>
   * <p>
   */
  public void initializingAsModeless() {
  }

  /**
   * initializingAsNested<p>
   * InitializingAsNested<br>
   *     InitializingAsNested is a noop method that the express<br>
   *     developer can override to add code to be executed<br>
   *     when the window is being initialized as a nested<br>
   *     link from another window.<br>
   * <p>
   */
  public void initializingAsNested() {
  }

  /**
   * initLinks<p>
   * InitLinks<br>
   *     InitLinks starts the nested windows and the current<br>
   *     folder window.  By default, these do not exist, so<br>
   *     this method does nothing here, but is overridden in<br>
   *     generated code if the generated window has links<br>
   *     and/or folders.<br>
   * <p>
   */
  public void initLinks() {
    this.initNestedLinks();
    this.initFolderLinks();
  }

  /**
   * initNestedLinks<p>
   * InitNestedLinks<br>
   *     InitNestedLinks is overridden in windows which have nested links.<br>
   * <p>
   */
  public void initNestedLinks() {
  }

  /**
   * openNestedWindows<p>
   * OpenNestedWindows<br>
   *     OpenNestedWindows is overridden in windows which have nested links.<br>
   * <p>
   */
  public void openNestedWindows() {
  }

  /**
   * openWindow<p>
   * OpenWindow<br>
   *     OpenWindow opens the window as a modal or modeless<br>
   *     window, depending on the link settings.<br>
   * <p>
   */
  public void openWindow() {
    WindowDisplayState.set(this, Constants.DS_HIDDEN);

    UserWindow.open(this, this.getWindowInfo().getLinkStyle() == ExpressContainerWindow.WS_MODAL);

    WidthPolicy.set(this, Constants.SP_EXPLICIT);
  }

  /**
   * postOpenInit<p>
   * PostOpenInit<br>
   *     PostOpenInit performs all initialization which must<br>
   *     occur after the window opens.<br>
   * <p>
   */
  public void postOpenInit() {
    this.openNestedWindows();

    if (this.getFolderMgr() != null) {
      //
      // Make the first folder the current folder
      //
      this.getFolderMgr().qq_setCurrentFolder(1);
    }
  }

  /**
   * preOpenInit<p>
   * PreOpenInit<br>
   *     PreOpenInit performs all initialization which must<br>
   *     occur before the window opens.<br>
   * <p>
   * <p>
   * <p>
   * if the user requested the default behavior for any of<br>
   * the optional behaviors of this Window, fill in the<br>
   * correct value now.<br>
   * <p>
   */
  public void preOpenInit() {
    // ----------------------------------
    // Parameters for call to GetDefaults
    // ----------------------------------
    ParameterHolder_LinkInfo qq_info = new ParameterHolder_LinkInfo(this.getWindowInfo());
    this.getDefaults(qq_info);
    this.setWindowInfo((LinkInfo)qq_info.getObject());

    //
    // Notify the developer's custom code how the window
    // is being opened.
    //
    switch (this.getWindowInfo().getLinkStyle()) {
    case ExpressContainerWindow.WS_NESTED: {
      this.initializingAsNested();
      break;
    }
    case ExpressContainerWindow.WS_FOLDER: {
      this.initializingAsFolder();
      break;
    }
    case ExpressContainerWindow.WS_MODAL: {
      this.initializingAsModal();
      break;
    }
    case ExpressContainerWindow.WS_MODELESS: {
      this.initializingAsModeless();
      break;
    }
    }

    //
    // Show all requested commands and hide all others.
    //
    this.getCommandMgr().initCommandSet(this.getWindowInfo());

    //
    // Start the nested and current folder links in this window.
    //
    this.initLinks();

    //
    // Translate strings into the current language.
    // Note: Translate should no longer be used; it is for
    // compatibility with Express version 1.
    //
    this.translate();

    //
    // Translate window message text if message catalog is present.
    //
    if (Application.getMsgCatalog().isPresent()) {
      UIutils.reloadLabelText(this, Application.getMsgCatalog());
    }
  }

  /**
   * quit<p>
   * Quit<br>
   *      Quit exits the window without saving changes.<br>
   * <p>
   * @param confirm Type: boolean (Input) (default in Forte: FALSE)
   * @return boolean
   */
  public boolean quit(boolean confirm) {
    int answer = 0;

    this.getStatusText().setValue( this.getAppBroker().getLocalString(ApplicationBroker.MS_MESSAGE_SET, ApplicationBroker.MN_WORKING_CANCEL) );

    if (confirm == true) {
      //
      // request confirmation
      //
      answer = this.getAppBroker().confirmationDialog(new TextData(this.getAppBroker().getLocalString(ApplicationBroker.MS_MESSAGE_SET, ApplicationBroker.MN_CONFIRM_CLOSE_CONTAINER)), this.getWindowName(), JOptionPane.YES_NO_OPTION, JOptionPane.NO_OPTION, 50, this.getAppBroker().getPreferences().getConfirmCancel());

      if (answer == JOptionPane.YES_OPTION) {
        EventManager.postEvent( this, ExpressContainerWindow.cEVENT_AFTER_CANCEL_WINDOW );
        return true;
      }
      else {
        this.getStatusText().setValue( this.getAppBroker().getLocalString(ApplicationBroker.MS_MESSAGE_SET, ApplicationBroker.MN_ABORTED_CANCEL) );
        return false;
      }
    }
    else {
      EventManager.postEvent( this, ExpressContainerWindow.cEVENT_AFTER_CANCEL_WINDOW );
      return true;
    }
  }

  /**
   * setCurrentFolder<p>
   * SetCurrentFolder<br>
   *     SetCurrentFolder makes the folder corresponding to the<br>
   *     given folder number the selected folder.<br>
   * <p>
   *     Returns TRUE if successful, FALSE if folderNum out of<br>
   *     bounds.<br>
   * <p>
   * @param folderNum Type: int
   * @return boolean
   */
  public boolean setCurrentFolder(int folderNum) {
    return this.getFolderMgr().qq_setCurrentFolder(folderNum);
  }

  /**
   * setCurrentFolder<p>
   * SetCurrentFolder<br>
   *     SetCurrentFolder makes the folder corresponding to the<br>
   *     given folder number the selected folder.<br>
   * <p>
   *     Returns TRUE if successful, FALSE if folderNum out of<br>
   *     bounds.<br>
   * <p>
   * @param folder Type: FolderDesc
   * @return boolean
   */
  public boolean setCurrentFolder(FolderDesc folder) {
    return this.getFolderMgr().qq_setCurrentFolder(folder);
  }

  /**
   * startMethod<p>
   * StartMethod<br>
   *     StartMethod is overridden to provide a known entry point<br>
   *     for all Windows.<br>
   * <p>
   * <p>
   * <p>
   * Display this window<br>
   * <p>
   */
  public void startMethod() {
    this.display((LinkInfo)null);
  }

  /**
   * translate<p>
   * Translate<br>
   *     This is provided for compatibility with version 1 of Express.<br>
   *     With version 2 Express the preferred method of translating<br>
   *     window strings is to customize the generated window in the<br>
   *     Window Workshop and enter a Message Group and Number for<br>
   *     each piece of text.<br>
   * <p>
   *     Translate provides a customization "hook" that<br>
   *     allows customers to add code that translates<br>
   *     window strings into the current language.<br>
   * <p>
   */
  public void translate() {
  }

  /**
   * windowEvents (Translation of Forte Event Handler)<p>
   * This is just a place holder for the generated window's<br>
   * events handler.<br>
   * <p>
   * @return EventRegistration
   */
  public EventRegistration windowEvents() {
    EventRegistration qq_resultRegistration = new EventRegistration();
    this.customEvents();
    // ================ Begin Forte Post Register Translation ================

    // ================= End Forte Post Register Translation =================
    return qq_resultRegistration;
  }

  // ------------------
  // Window Definitions
  // ------------------
  // <editor-fold defaultstate="collapsed" desc="Window Definitions">
  private int qq_defaultSet = 1;
  private int qq_msgNumber = 0;
  private int qq_msgSet = 0;
  public DataField qq_IndexBC;
  public DataField qq_IndexTC;
  public DataField qq_MaxIndexBC;
  public DataField qq_MaxIndexTC;
  public DataField qq_StatusText;
  public GridField qq_ButtonGrid;
  public GridField qq_ContentsGrid;
  public GridField qq_DataGrid;
  public GridField qq_EditTCGrid;
  public GridField qq_IndexesBCGrid;
  public GridField qq_IndexesTCGrid;
  public GridField qq_NestedGrid;
  public GridField qq_ScrollBCGrid;
  public GridField qq_ScrollTCGrid;
  public GridField qq_SideBCGrid;
  public GridField qq_StatusLineGrid;
  public GridField qq_ToolBarBackgroundGrid;
  public GridField qq_ToolBarGrid;
  public GridField qq_TopContentsGrid;
  public GridField qq_TopGrid;
  public JButton qq_CancelBC;
  public JButton qq_ClearBC;
  public JButton qq_ClearTC;
  public JButton qq_DeleteBC;
  public JButton qq_DeleteTC;
  public JButton qq_FirstBC;
  public JButton qq_FirstTC;
  public JButton qq_InsertBC;
  public JButton qq_InsertTC;
  public JButton qq_LastBC;
  public JButton qq_LastTC;
  public JButton qq_NextBC;
  public JButton qq_NextTC;
  public JButton qq_OKBC;
  public JButton qq_PrevBC;
  public JButton qq_PrevTC;
  public JButton qq_SaveTC;
  public JButton qq_SearchBC;
  public JButton qq_SearchTC;
  public JMenu qq_ScrollMenu;
  public JMenu qq_editMenu;
  public JMenu qq_fileMenu;
  public JMenu qq_resultSetMenu;
  public JMenuBar qq_MainMenuBar;
  public JMenuItem qq_CancelMC;
  public JMenuItem qq_ClearMC;
  public JMenuItem qq_CloseMC;
  public JMenuItem qq_DeleteMC;
  public JMenuItem qq_EditCopyMC;
  public JMenuItem qq_EditCutMC;
  public JMenuItem qq_EditDeleteMC;
  public JMenuItem qq_EditPasteMC;
  public JMenuItem qq_EditSelectallMC;
  public JMenuItem qq_ExitAllMC;
  public JMenuItem qq_FirstMC;
  public JMenuItem qq_InsertMC;
  public JMenuItem qq_LastMC;
  public JMenuItem qq_NextMC;
  public JMenuItem qq_PreferencesMC;
  public JMenuItem qq_PrevMC;
  public JMenuItem qq_PrintMC;
  public JMenuItem qq_PrintSetupMC;
  public JMenuItem qq_RevertMC;
  public JMenuItem qq_SaveMC;
  public JMenuItem qq_SearchMC;
  public MenuList qq_ModeMC;
  public MenuSeparator qq_CancelSP;
  public MenuSeparator qq_ClearSP;
  public MenuSeparator qq_CloseSP;
  public MenuSeparator qq_ModeSP;
  public MenuSeparator qq_PreferencesSP;
  public MenuSeparator qq_PrintSP;
  public MenuSeparator qq_RevertSP;
  public MenuSeparator qq_SaveSP;
  public MenuSeparator qq_ScrollSP;
  public MenuSeparator qq_ScrollToSP;
  public PaletteList qq_ModeTC;
  public Panel qq_FolderPanel;
  public TextGraphic qq_DummyGraphic;
  public TextGraphic qq_OfBC;
  public TextGraphic qq_OfTC;

  /**
   * qq_PreferencesMC: transformed from: qqds_MenuCommand
   */
   public JMenuItem getqq_PreferencesMC() {
    if (qq_PreferencesMC == null) {
      qq_PreferencesMC = MenuFactory.newMenuItem("PreferencesMC", true);
      qq_PreferencesMC.setVerifyInputWhenFocusTarget(true);
      this.qq_PreferencesMC.setMnemonic( 'P' );
      qq_PreferencesMC.setText( "Preferences..." );
      UIutils.setMsgSet(qq_PreferencesMC, 60100);
      UIutils.setMsgNumber(qq_PreferencesMC, 663);
      qq_PreferencesMC.setVisible(true);
    }
    return qq_PreferencesMC;
   }

   public void setqq_PreferencesMC(JMenuItem value) {
     JMenuItem oldValue = qq_PreferencesMC;
     qq_PreferencesMC = value;
     this.qq_Listeners.firePropertyChange("qq_PreferencesMC", oldValue, value);
   }


   /**
    * qq_PreferencesSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_PreferencesSP() {
     if (qq_PreferencesSP == null) {
       qq_PreferencesSP = new MenuSeparator();
       qq_PreferencesSP.setName("PreferencesSP");
       qq_PreferencesSP.setVisible( true );
     }
     return qq_PreferencesSP;
   }

   public void setqq_PreferencesSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_PreferencesSP;
     qq_PreferencesSP = value;
     this.qq_Listeners.firePropertyChange("qq_PreferencesSP", oldValue, value);
   }


   /**
    * qq_RevertMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_RevertMC() {
     if (qq_RevertMC == null) {
       qq_RevertMC = MenuFactory.newMenuItem("RevertMC", true);
       qq_RevertMC.setVerifyInputWhenFocusTarget(true);
       this.qq_RevertMC.setMnemonic( 'v' );
       qq_RevertMC.setText( "Revert to Saved" );
       UIutils.setMsgSet(qq_RevertMC, 60100);
       UIutils.setMsgNumber(qq_RevertMC, 666);
       qq_RevertMC.setVisible(true);
     }
     return qq_RevertMC;
   }

   public void setqq_RevertMC(JMenuItem value) {
     JMenuItem oldValue = qq_RevertMC;
     qq_RevertMC = value;
     this.qq_Listeners.firePropertyChange("qq_RevertMC", oldValue, value);
   }


   /**
    * qq_RevertSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_RevertSP() {
     if (qq_RevertSP == null) {
       qq_RevertSP = new MenuSeparator();
       qq_RevertSP.setName("RevertSP");
       qq_RevertSP.setVisible( true );
     }
     return qq_RevertSP;
   }

   public void setqq_RevertSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_RevertSP;
     qq_RevertSP = value;
     this.qq_Listeners.firePropertyChange("qq_RevertSP", oldValue, value);
   }


   /**
    * qq_PrintMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_PrintMC() {
     if (qq_PrintMC == null) {
       qq_PrintMC = MenuFactory.newMenuItem("PrintMC", true);
       qq_PrintMC.setVerifyInputWhenFocusTarget(true);
       qq_PrintMC.addActionListener(new PrintActionListener(this));
       qq_PrintMC.setText( "Print..." );
       qq_PrintMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, ActionEvent.CTRL_MASK));
       qq_PrintMC.setVisible(true);
     }
     return qq_PrintMC;
   }

   public void setqq_PrintMC(JMenuItem value) {
     JMenuItem oldValue = qq_PrintMC;
     qq_PrintMC = value;
     this.qq_Listeners.firePropertyChange("qq_PrintMC", oldValue, value);
   }


   /**
    * qq_PrintSetupMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_PrintSetupMC() {
     if (qq_PrintSetupMC == null) {
       qq_PrintSetupMC = MenuFactory.newMenuItem("PrintSetupMC", true);
       qq_PrintSetupMC.setVerifyInputWhenFocusTarget(true);
       qq_PrintSetupMC.addActionListener(new PrintSetupActionListener());
       qq_PrintSetupMC.setText( "Print Setup..." );
       qq_PrintSetupMC.setVisible(true);
     }
     return qq_PrintSetupMC;
   }

   public void setqq_PrintSetupMC(JMenuItem value) {
     JMenuItem oldValue = qq_PrintSetupMC;
     qq_PrintSetupMC = value;
     this.qq_Listeners.firePropertyChange("qq_PrintSetupMC", oldValue, value);
   }


   /**
    * qq_PrintSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_PrintSP() {
     if (qq_PrintSP == null) {
       qq_PrintSP = new MenuSeparator();
       qq_PrintSP.setName("PrintSP");
       qq_PrintSP.setVisible( true );
     }
     return qq_PrintSP;
   }

   public void setqq_PrintSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_PrintSP;
     qq_PrintSP = value;
     this.qq_Listeners.firePropertyChange("qq_PrintSP", oldValue, value);
   }


   /**
    * qq_SaveMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_SaveMC() {
     if (qq_SaveMC == null) {
       qq_SaveMC = MenuFactory.newMenuItem("SaveMC", true);
       qq_SaveMC.setVerifyInputWhenFocusTarget(true);
       this.qq_SaveMC.setMnemonic( 'S' );
       qq_SaveMC.setText( "Save" );
       UIutils.setMsgSet(qq_SaveMC, 60100);
       UIutils.setMsgNumber(qq_SaveMC, 667);
       qq_SaveMC.setVisible(true);
     }
     return qq_SaveMC;
   }

   public void setqq_SaveMC(JMenuItem value) {
     JMenuItem oldValue = qq_SaveMC;
     qq_SaveMC = value;
     this.qq_Listeners.firePropertyChange("qq_SaveMC", oldValue, value);
   }


   /**
    * qq_SaveSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_SaveSP() {
     if (qq_SaveSP == null) {
       qq_SaveSP = new MenuSeparator();
       qq_SaveSP.setName("SaveSP");
       qq_SaveSP.setVisible( true );
     }
     return qq_SaveSP;
   }

   public void setqq_SaveSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_SaveSP;
     qq_SaveSP = value;
     this.qq_Listeners.firePropertyChange("qq_SaveSP", oldValue, value);
   }


   /**
    * qq_CancelMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_CancelMC() {
     if (qq_CancelMC == null) {
       qq_CancelMC = MenuFactory.newMenuItem("CancelMC", false);
       qq_CancelMC.setVerifyInputWhenFocusTarget(false);
       this.qq_CancelMC.setMnemonic( 'n' );
       qq_CancelMC.setText( "Cancel" );
       UIutils.setMsgSet(qq_CancelMC, 60100);
       UIutils.setMsgNumber(qq_CancelMC, 651);
       qq_CancelMC.setVisible(true);
     }
     return qq_CancelMC;
   }

   public void setqq_CancelMC(JMenuItem value) {
     JMenuItem oldValue = qq_CancelMC;
     qq_CancelMC = value;
     this.qq_Listeners.firePropertyChange("qq_CancelMC", oldValue, value);
   }


   /**
    * qq_CancelSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_CancelSP() {
     if (qq_CancelSP == null) {
       qq_CancelSP = new MenuSeparator();
       qq_CancelSP.setName("CancelSP");
       qq_CancelSP.setVisible( true );
     }
     return qq_CancelSP;
   }

   public void setqq_CancelSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_CancelSP;
     qq_CancelSP = value;
     this.qq_Listeners.firePropertyChange("qq_CancelSP", oldValue, value);
   }


   /**
    * qq_CloseMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_CloseMC() {
     if (qq_CloseMC == null) {
       qq_CloseMC = MenuFactory.newMenuItem("CloseMC", false);
       qq_CloseMC.setVerifyInputWhenFocusTarget(false);
       qq_CloseMC.setText( "Close" );
       qq_CloseMC.setVisible(true);
     }
     return qq_CloseMC;
   }

   public void setqq_CloseMC(JMenuItem value) {
     JMenuItem oldValue = qq_CloseMC;
     qq_CloseMC = value;
     this.qq_Listeners.firePropertyChange("qq_CloseMC", oldValue, value);
   }


   /**
    * qq_CloseSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_CloseSP() {
     if (qq_CloseSP == null) {
       qq_CloseSP = new MenuSeparator();
       qq_CloseSP.setName("CloseSP");
       qq_CloseSP.setVisible( true );
     }
     return qq_CloseSP;
   }

   public void setqq_CloseSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_CloseSP;
     qq_CloseSP = value;
     this.qq_Listeners.firePropertyChange("qq_CloseSP", oldValue, value);
   }


   /**
    * qq_ExitAllMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_ExitAllMC() {
     if (qq_ExitAllMC == null) {
       qq_ExitAllMC = MenuFactory.newMenuItem("ExitAllMC", true);
       qq_ExitAllMC.setVerifyInputWhenFocusTarget(true);
       this.qq_ExitAllMC.setMnemonic( 'A' );
       qq_ExitAllMC.setText( "Exit All" );
       UIutils.setMsgSet(qq_ExitAllMC, 60100);
       UIutils.setMsgNumber(qq_ExitAllMC, 655);
       qq_ExitAllMC.setVisible(true);
     }
     return qq_ExitAllMC;
   }

   public void setqq_ExitAllMC(JMenuItem value) {
     JMenuItem oldValue = qq_ExitAllMC;
     qq_ExitAllMC = value;
     this.qq_Listeners.firePropertyChange("qq_ExitAllMC", oldValue, value);
   }


   /**
    * qq_fileMenu: transformed from: qqds_Submenu
    */
   public JMenu getqq_fileMenu() {
     if (qq_fileMenu == null) {
       qq_fileMenu = new JMenu();
       qq_fileMenu.setName("fileMenu");
       this.qq_fileMenu.setMnemonic( 'F' );
       qq_fileMenu.setText( "File" );
       UIutils.setMsgSet(qq_fileMenu, 60100);
       UIutils.setMsgNumber(qq_fileMenu, 656);
       qq_fileMenu.setVisible(true);
       qq_fileMenu.add(getqq_PreferencesMC());
       qq_fileMenu.add(getqq_PreferencesSP());
       qq_fileMenu.add(getqq_RevertMC());
       qq_fileMenu.add(getqq_RevertSP());
       qq_fileMenu.add(getqq_PrintMC());
       qq_fileMenu.add(getqq_PrintSetupMC());
       qq_fileMenu.add(getqq_PrintSP());
       qq_fileMenu.add(getqq_SaveMC());
       qq_fileMenu.add(getqq_SaveSP());
       qq_fileMenu.add(getqq_CancelMC());
       qq_fileMenu.add(getqq_CancelSP());
       qq_fileMenu.add(getqq_CloseMC());
       qq_fileMenu.add(getqq_CloseSP());
       qq_fileMenu.add(getqq_ExitAllMC());
     }
     return qq_fileMenu;
   }


   /**
    * qq_EditCutMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_EditCutMC() {
     if (qq_EditCutMC == null) {
       qq_EditCutMC = MenuFactory.newMenuItem("EditCutMC", true);
       qq_EditCutMC.setVerifyInputWhenFocusTarget(true);
       qq_EditCutMC.addActionListener(new DefaultEditorKit.CutAction());
       qq_EditCutMC.setRequestFocusEnabled(false);
       qq_EditCutMC.setText( "Cut" );
       qq_EditCutMC.setVisible(true);
     }
     return qq_EditCutMC;
   }

   public void setqq_EditCutMC(JMenuItem value) {
     JMenuItem oldValue = qq_EditCutMC;
     qq_EditCutMC = value;
     this.qq_Listeners.firePropertyChange("qq_EditCutMC", oldValue, value);
   }


   /**
    * qq_EditCopyMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_EditCopyMC() {
     if (qq_EditCopyMC == null) {
       qq_EditCopyMC = MenuFactory.newMenuItem("EditCopyMC", true);
       qq_EditCopyMC.setVerifyInputWhenFocusTarget(true);
       qq_EditCopyMC.addActionListener(new DefaultEditorKit.CopyAction());
       qq_EditCopyMC.setRequestFocusEnabled(false);
       qq_EditCopyMC.setText( "Copy" );
       qq_EditCopyMC.setVisible(true);
     }
     return qq_EditCopyMC;
   }

   public void setqq_EditCopyMC(JMenuItem value) {
     JMenuItem oldValue = qq_EditCopyMC;
     qq_EditCopyMC = value;
     this.qq_Listeners.firePropertyChange("qq_EditCopyMC", oldValue, value);
   }


   /**
    * qq_EditPasteMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_EditPasteMC() {
     if (qq_EditPasteMC == null) {
       qq_EditPasteMC = MenuFactory.newMenuItem("EditPasteMC", true);
       qq_EditPasteMC.setVerifyInputWhenFocusTarget(true);
       qq_EditPasteMC.addActionListener(new DefaultEditorKit.PasteAction());
       qq_EditPasteMC.setRequestFocusEnabled(false);
       qq_EditPasteMC.setText( "Paste" );
       qq_EditPasteMC.setVisible(true);
     }
     return qq_EditPasteMC;
   }

   public void setqq_EditPasteMC(JMenuItem value) {
     JMenuItem oldValue = qq_EditPasteMC;
     qq_EditPasteMC = value;
     this.qq_Listeners.firePropertyChange("qq_EditPasteMC", oldValue, value);
   }


   /**
    * qq_EditDeleteMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_EditDeleteMC() {
     if (qq_EditDeleteMC == null) {
       qq_EditDeleteMC = MenuFactory.newMenuItem("EditDeleteMC", true);
       qq_EditDeleteMC.setVerifyInputWhenFocusTarget(true);
       qq_EditDeleteMC.setText( "Delete" );
       qq_EditDeleteMC.setVisible(true);
     }
     return qq_EditDeleteMC;
   }

   public void setqq_EditDeleteMC(JMenuItem value) {
     JMenuItem oldValue = qq_EditDeleteMC;
     qq_EditDeleteMC = value;
     this.qq_Listeners.firePropertyChange("qq_EditDeleteMC", oldValue, value);
   }


   /**
    * qq_EditSelectallMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_EditSelectallMC() {
     if (qq_EditSelectallMC == null) {
       qq_EditSelectallMC = MenuFactory.newMenuItem("EditSelectallMC", true);
       qq_EditSelectallMC.setVerifyInputWhenFocusTarget(true);
       qq_EditSelectallMC.addActionListener(new UIutils.SelectAllAction());
       qq_EditSelectallMC.setText( "Select All" );
       qq_EditSelectallMC.setVisible(true);
     }
     return qq_EditSelectallMC;
   }

   public void setqq_EditSelectallMC(JMenuItem value) {
     JMenuItem oldValue = qq_EditSelectallMC;
     qq_EditSelectallMC = value;
     this.qq_Listeners.firePropertyChange("qq_EditSelectallMC", oldValue, value);
   }


   /**
    * qq_editMenu: transformed from: qqds_Submenu
    */
   public JMenu getqq_editMenu() {
     if (qq_editMenu == null) {
       qq_editMenu = new JMenu();
       qq_editMenu.setName("editMenu");
       this.qq_editMenu.setMnemonic( 'E' );
       qq_editMenu.setText( "Edit" );
       UIutils.setMsgSet(qq_editMenu, 60100);
       UIutils.setMsgNumber(qq_editMenu, 654);
       qq_editMenu.setVisible(true);
       qq_editMenu.add(getqq_EditCutMC());
       qq_editMenu.add(getqq_EditCopyMC());
       qq_editMenu.add(getqq_EditPasteMC());
       qq_editMenu.add(getqq_EditDeleteMC());
       qq_editMenu.add(getqq_EditSelectallMC());
     }
     return qq_editMenu;
   }


   /**
    * qq_ModeMC: transformed from: qqds_MenuList
    */
   public MenuList getqq_ModeMC() {
     if (qq_ModeMC == null) {
       qq_ModeMC = new MenuList();
       qq_ModeMC.setName("ModeMC");
       String[] names = {"Edit Mode", "Search Mode"};
       Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
       ListElement elements1 = new ListElement( 1, names[0], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
       elements1.setTextValueMsgNum( 660 );
       elements.add( elements1 );
       ListElement elements2 = new ListElement( 2, names[1], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE );
       elements2.setTextValueMsgNum( 661 );
       elements.add( elements2 );
       getBindingManager().bindComponent(qq_ModeMC, "modeMC", elements);
     }
     return qq_ModeMC;
   }

   public void setqq_ModeMC(MenuList value) {
     MenuList oldValue = qq_ModeMC;
     qq_ModeMC = value;
     this.qq_Listeners.firePropertyChange("qq_ModeMC", oldValue, value);
   }


   /**
    * qq_ModeSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_ModeSP() {
     if (qq_ModeSP == null) {
       qq_ModeSP = new MenuSeparator();
       qq_ModeSP.setName("ModeSP");
       qq_ModeSP.setVisible( true );
     }
     return qq_ModeSP;
   }

   public void setqq_ModeSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_ModeSP;
     qq_ModeSP = value;
     this.qq_Listeners.firePropertyChange("qq_ModeSP", oldValue, value);
   }


   /**
    * qq_ClearMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_ClearMC() {
     if (qq_ClearMC == null) {
       qq_ClearMC = MenuFactory.newMenuItem("ClearMC", false);
       qq_ClearMC.setVerifyInputWhenFocusTarget(false);
       this.qq_ClearMC.setMnemonic( 'C' );
       qq_ClearMC.setText( "Clear Result Set" );
       UIutils.setMsgSet(qq_ClearMC, 60100);
       UIutils.setMsgNumber(qq_ClearMC, 652);
       qq_ClearMC.setVisible(true);
     }
     return qq_ClearMC;
   }

   public void setqq_ClearMC(JMenuItem value) {
     JMenuItem oldValue = qq_ClearMC;
     qq_ClearMC = value;
     this.qq_Listeners.firePropertyChange("qq_ClearMC", oldValue, value);
   }


   /**
    * qq_ClearSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_ClearSP() {
     if (qq_ClearSP == null) {
       qq_ClearSP = new MenuSeparator();
       qq_ClearSP.setName("ClearSP");
       qq_ClearSP.setVisible( true );
     }
     return qq_ClearSP;
   }

   public void setqq_ClearSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_ClearSP;
     qq_ClearSP = value;
     this.qq_Listeners.firePropertyChange("qq_ClearSP", oldValue, value);
   }


   /**
    * qq_InsertMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_InsertMC() {
     if (qq_InsertMC == null) {
       qq_InsertMC = MenuFactory.newMenuItem("InsertMC", true);
       qq_InsertMC.setVerifyInputWhenFocusTarget(true);
       this.qq_InsertMC.setMnemonic( 'I' );
       qq_InsertMC.setText( "Insert Record" );
       UIutils.setMsgSet(qq_InsertMC, 60100);
       UIutils.setMsgNumber(qq_InsertMC, 658);
       qq_InsertMC.setVisible(true);
     }
     return qq_InsertMC;
   }

   public void setqq_InsertMC(JMenuItem value) {
     JMenuItem oldValue = qq_InsertMC;
     qq_InsertMC = value;
     this.qq_Listeners.firePropertyChange("qq_InsertMC", oldValue, value);
   }


   /**
    * qq_DeleteMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_DeleteMC() {
     if (qq_DeleteMC == null) {
       qq_DeleteMC = MenuFactory.newMenuItem("DeleteMC", false);
       qq_DeleteMC.setVerifyInputWhenFocusTarget(false);
       this.qq_DeleteMC.setMnemonic( 'D' );
       qq_DeleteMC.setText( "Delete Record" );
       UIutils.setMsgSet(qq_DeleteMC, 60100);
       UIutils.setMsgNumber(qq_DeleteMC, 653);
       qq_DeleteMC.setVisible(true);
     }
     return qq_DeleteMC;
   }

   public void setqq_DeleteMC(JMenuItem value) {
     JMenuItem oldValue = qq_DeleteMC;
     qq_DeleteMC = value;
     this.qq_Listeners.firePropertyChange("qq_DeleteMC", oldValue, value);
   }


   /**
    * qq_ScrollToSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_ScrollToSP() {
     if (qq_ScrollToSP == null) {
       qq_ScrollToSP = new MenuSeparator();
       qq_ScrollToSP.setName("ScrollToSP");
       qq_ScrollToSP.setVisible( true );
     }
     return qq_ScrollToSP;
   }

   public void setqq_ScrollToSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_ScrollToSP;
     qq_ScrollToSP = value;
     this.qq_Listeners.firePropertyChange("qq_ScrollToSP", oldValue, value);
   }


   /**
    * qq_FirstMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_FirstMC() {
     if (qq_FirstMC == null) {
       qq_FirstMC = MenuFactory.newMenuItem("FirstMC", true);
       qq_FirstMC.setVerifyInputWhenFocusTarget(true);
       this.qq_FirstMC.setMnemonic( 'F' );
       qq_FirstMC.setText( "First Record" );
       UIutils.setMsgSet(qq_FirstMC, 60100);
       UIutils.setMsgNumber(qq_FirstMC, 657);
       qq_FirstMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
       qq_FirstMC.setVisible(true);
     }
     return qq_FirstMC;
   }

   public void setqq_FirstMC(JMenuItem value) {
     JMenuItem oldValue = qq_FirstMC;
     qq_FirstMC = value;
     this.qq_Listeners.firePropertyChange("qq_FirstMC", oldValue, value);
   }


   /**
    * qq_LastMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_LastMC() {
     if (qq_LastMC == null) {
       qq_LastMC = MenuFactory.newMenuItem("LastMC", true);
       qq_LastMC.setVerifyInputWhenFocusTarget(true);
       this.qq_LastMC.setMnemonic( 'L' );
       qq_LastMC.setText( "Last Record" );
       UIutils.setMsgSet(qq_LastMC, 60100);
       UIutils.setMsgNumber(qq_LastMC, 659);
       qq_LastMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
       qq_LastMC.setVisible(true);
     }
     return qq_LastMC;
   }

   public void setqq_LastMC(JMenuItem value) {
     JMenuItem oldValue = qq_LastMC;
     qq_LastMC = value;
     this.qq_Listeners.firePropertyChange("qq_LastMC", oldValue, value);
   }


   /**
    * qq_ScrollSP: transformed from: qqds_MenuSeparator
    */
   public MenuSeparator getqq_ScrollSP() {
     if (qq_ScrollSP == null) {
       qq_ScrollSP = new MenuSeparator();
       qq_ScrollSP.setName("ScrollSP");
       qq_ScrollSP.setVisible( true );
     }
     return qq_ScrollSP;
   }

   public void setqq_ScrollSP(MenuSeparator value) {
     MenuSeparator oldValue = qq_ScrollSP;
     qq_ScrollSP = value;
     this.qq_Listeners.firePropertyChange("qq_ScrollSP", oldValue, value);
   }


   /**
    * qq_PrevMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_PrevMC() {
     if (qq_PrevMC == null) {
       qq_PrevMC = MenuFactory.newMenuItem("PrevMC", true);
       qq_PrevMC.setVerifyInputWhenFocusTarget(true);
       this.qq_PrevMC.setMnemonic( 'P' );
       qq_PrevMC.setText( "Previous Record" );
       UIutils.setMsgSet(qq_PrevMC, 60100);
       UIutils.setMsgNumber(qq_PrevMC, 664);
       qq_PrevMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
       qq_PrevMC.setVisible(true);
     }
     return qq_PrevMC;
   }

   public void setqq_PrevMC(JMenuItem value) {
     JMenuItem oldValue = qq_PrevMC;
     qq_PrevMC = value;
     this.qq_Listeners.firePropertyChange("qq_PrevMC", oldValue, value);
   }


   /**
    * qq_NextMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_NextMC() {
     if (qq_NextMC == null) {
       qq_NextMC = MenuFactory.newMenuItem("NextMC", true);
       qq_NextMC.setVerifyInputWhenFocusTarget(true);
       this.qq_NextMC.setMnemonic( 'N' );
       qq_NextMC.setText( "Next Record" );
       UIutils.setMsgSet(qq_NextMC, 60100);
       UIutils.setMsgNumber(qq_NextMC, 662);
       qq_NextMC.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, ActionEvent.CTRL_MASK | ActionEvent.SHIFT_MASK));
       qq_NextMC.setVisible(true);
     }
     return qq_NextMC;
   }

   public void setqq_NextMC(JMenuItem value) {
     JMenuItem oldValue = qq_NextMC;
     qq_NextMC = value;
     this.qq_Listeners.firePropertyChange("qq_NextMC", oldValue, value);
   }


   /**
    * qq_ScrollMenu: transformed from: qqds_Submenu
    */
   public JMenu getqq_ScrollMenu() {
     if (qq_ScrollMenu == null) {
       qq_ScrollMenu = new JMenu();
       qq_ScrollMenu.setName("ScrollMenu");
       this.qq_ScrollMenu.setMnemonic( 'T' );
       qq_ScrollMenu.setText( "Scroll To" );
       UIutils.setMsgSet(qq_ScrollMenu, 60100);
       UIutils.setMsgNumber(qq_ScrollMenu, 668);
       qq_ScrollMenu.setVisible(true);
       qq_ScrollMenu.add(getqq_FirstMC());
       qq_ScrollMenu.add(getqq_LastMC());
       qq_ScrollMenu.add(getqq_ScrollSP());
       qq_ScrollMenu.add(getqq_PrevMC());
       qq_ScrollMenu.add(getqq_NextMC());
     }
     return qq_ScrollMenu;
   }


   /**
    * qq_SearchMC: transformed from: qqds_MenuCommand
    */
   public JMenuItem getqq_SearchMC() {
     if (qq_SearchMC == null) {
       qq_SearchMC = MenuFactory.newMenuItem("SearchMC", true);
       qq_SearchMC.setVerifyInputWhenFocusTarget(true);
       this.qq_SearchMC.setMnemonic( 'r' );
       qq_SearchMC.setText( "Search" );
       UIutils.setMsgSet(qq_SearchMC, 60100);
       UIutils.setMsgNumber(qq_SearchMC, 669);
       qq_SearchMC.setVisible(true);
     }
     return qq_SearchMC;
   }

   public void setqq_SearchMC(JMenuItem value) {
     JMenuItem oldValue = qq_SearchMC;
     qq_SearchMC = value;
     this.qq_Listeners.firePropertyChange("qq_SearchMC", oldValue, value);
   }


   /**
    * qq_resultSetMenu: transformed from: qqds_Submenu
    */
   public JMenu getqq_resultSetMenu() {
     if (qq_resultSetMenu == null) {
       qq_resultSetMenu = new JMenu();
       qq_resultSetMenu.setName("resultSetMenu");
       this.qq_resultSetMenu.setMnemonic( 'R' );
       qq_resultSetMenu.setText( "Result Set" );
       UIutils.setMsgSet(qq_resultSetMenu, 60100);
       UIutils.setMsgNumber(qq_resultSetMenu, 665);
       qq_resultSetMenu.setVisible(true);
       qq_resultSetMenu.add(getqq_ModeMC());
       qq_resultSetMenu.add(getqq_ModeSP());
       qq_resultSetMenu.add(getqq_ClearMC());
       qq_resultSetMenu.add(getqq_ClearSP());
       qq_resultSetMenu.add(getqq_InsertMC());
       qq_resultSetMenu.add(getqq_DeleteMC());
       qq_resultSetMenu.add(getqq_ScrollToSP());
       qq_resultSetMenu.add(getqq_ScrollMenu());
       qq_resultSetMenu.add(getqq_SearchMC());
     }
     return qq_resultSetMenu;
   }


   /**
    * qq_MainMenuBar: transformed from: qqds_MenuBar
    */
   public JMenuBar getqq_MenuBar() {
     if (qq_MainMenuBar == null) {
       qq_MainMenuBar = MenuFactory.newMenuBar();
       qq_MainMenuBar.setName("MainMenuBar");
       qq_MainMenuBar.setBorderPainted(false);
       this.qq_MainMenuBar.add(getqq_fileMenu());
       this.qq_MainMenuBar.add(getqq_editMenu());
       this.qq_MainMenuBar.add(getqq_resultSetMenu());
     }
     return qq_MainMenuBar;
   }

   public void setqq_MainMenuBar(JMenuBar value) {
     JMenuBar oldValue = qq_MainMenuBar;
     qq_MainMenuBar = value;
     this.qq_Listeners.firePropertyChange("qq_MainMenuBar", oldValue, value);
   }


   /**
    * qq_DummyGraphic: transformed from: qqds_TextGraphic
    * TagId=65537
    * isInherited=FALSE
    */
   public TextGraphic getqq_DummyGraphic() {
     if (qq_DummyGraphic == null) {
       qq_DummyGraphic = GraphicFactory.newTextGraphic("Text Graphic", "DummyGraphic");
       // OPTIONAL UIutils.reloadLabelText(qq_DummyGraphic, mcat);
       WidthPolicy.set(qq_DummyGraphic, Constants.SP_NATURAL);
       HeightPolicy.set(qq_DummyGraphic, Constants.SP_NATURAL);
       qq_DummyGraphic.setPreferredSize(UIutils.labelWidth(qq_DummyGraphic));
     }
     return qq_DummyGraphic;
   }

   public void setqq_DummyGraphic(TextGraphic value) {
     TextGraphic oldValue = qq_DummyGraphic;
     qq_DummyGraphic = value;
     this.qq_Listeners.firePropertyChange("qq_DummyGraphic", oldValue, value);
   }

   /**
    * qq_DataGrid: transformed from: qqds_GridField
    * TagId=131067
    * isInherited=FALSE
    * In forte this was a 1x1 grid field.
    * There are no cell margins set
    * The width policy is set to Parent, and the height policy is set to Parent.
    */
   protected void setqq_DataGridProperties() {
     FrameColor.set(qq_DataGrid, Constants.C_INHERIT);
     qq_DataGrid.setCellGravity(Constants.CG_CENTER);
     qq_DataGrid.setIgnoreInvisibleChildren(true);
     qq_DataGrid.setCollapsed(true);
     qq_DataGrid.setHeightPolicy(Constants.SP_TO_PARENT);
     qq_DataGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_DataGrid() {
     if (qq_DataGrid == null) {
       qq_DataGrid = CompoundFieldFactory.newGridField("DataGrid", false);
       setqq_DataGridProperties();
       qq_DataGrid.setBackground(null);
       // OPTIONAL qq_DataGrid.setSize(new Dimension(404, 67));
       // OPTIONAL qq_DataGrid.setMinimumSize(new Dimension(404, 67));
       // OPTIONAL qq_DataGrid.setPreferredSize(new Dimension(404, 67));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_DataGrid.add( getqq_DummyGraphic(), qq_gbc );

     }
     return qq_DataGrid;
   }

   public void setqq_DataGrid(GridField value) {
     GridField oldValue = qq_DataGrid;
     qq_DataGrid = value;
     this.qq_Listeners.firePropertyChange("qq_DataGrid", oldValue, value);
   }

   /**
    * qq_InsertBC: transformed from: qqds_PushButton
    * TagId=131037
    * isInherited=FALSE
    */
   public JButton getqq_InsertBC() {
     if (qq_InsertBC == null) {
       qq_InsertBC = PushButtonFactory.newInstance("InsertBC", "Insert");
       UIutils.setMsgSet(qq_InsertBC, 60100);
       UIutils.setMsgNumber(qq_InsertBC, 154);
       qq_InsertBC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_InsertBC, Constants.SP_TO_PARENT);
       HeightPolicy.set(qq_InsertBC, Constants.SP_NATURAL);
       // OPTIONAL qq_InsertBC.setSize(new Dimension(45, 26));
       qq_InsertBC.setMinimumSize(new Dimension(45, 26));
       qq_InsertBC.setPreferredSize(new Dimension(45, 26));
     }
     return qq_InsertBC;
   }

   public void setqq_InsertBC(JButton value) {
     JButton oldValue = qq_InsertBC;
     qq_InsertBC = value;
     this.qq_Listeners.firePropertyChange("qq_InsertBC", oldValue, value);
   }

   /**
    * qq_DeleteBC: transformed from: qqds_PushButton
    * TagId=131036
    * isInherited=FALSE
    */
   public JButton getqq_DeleteBC() {
     if (qq_DeleteBC == null) {
       qq_DeleteBC = PushButtonFactory.newInstance("DeleteBC", "Delete");
       UIutils.setMsgSet(qq_DeleteBC, 60100);
       UIutils.setMsgNumber(qq_DeleteBC, 153);
       WidthPolicy.set(qq_DeleteBC, Constants.SP_TO_PARENT);
       HeightPolicy.set(qq_DeleteBC, Constants.SP_NATURAL);
       // OPTIONAL qq_DeleteBC.setSize(new Dimension(45, 26));
       qq_DeleteBC.setMinimumSize(new Dimension(45, 26));
       qq_DeleteBC.setPreferredSize(new Dimension(45, 26));
     }
     return qq_DeleteBC;
   }

   public void setqq_DeleteBC(JButton value) {
     JButton oldValue = qq_DeleteBC;
     qq_DeleteBC = value;
     this.qq_Listeners.firePropertyChange("qq_DeleteBC", oldValue, value);
   }

   /**
    * qq_SideBCGrid: transformed from: qqds_GridField
    * TagId=131038
    * isInherited=FALSE
    * In forte this was a 1x2 grid field.
    * The cell margins are all 50 mils
    * The width policy is set to Natural, and the height policy is set to Natural.
    */
   protected void setqq_SideBCGridProperties() {
     FrameColor.set(qq_SideBCGrid, Constants.C_INHERIT);
     qq_SideBCGrid.setCellTopMargin(25);
     qq_SideBCGrid.setCellBottomMargin(25);
     qq_SideBCGrid.setCellLeftMargin(25);
     qq_SideBCGrid.setCellRightMargin(25);
     qq_SideBCGrid.setCellGravity(Constants.CG_CENTER);
     qq_SideBCGrid.setIgnoreInvisibleChildren(true);
     qq_SideBCGrid.setCollapsed(true);
     qq_SideBCGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_SideBCGrid.setWidthPolicy(Constants.SP_NATURAL);
   }

   public GridField getqq_SideBCGrid() {
     if (qq_SideBCGrid == null) {
       qq_SideBCGrid = CompoundFieldFactory.newGridField("SideBCGrid", false);
       setqq_SideBCGridProperties();
       qq_SideBCGrid.setBackground(null);
       // OPTIONAL qq_SideBCGrid.setSize(new Dimension(55, 67));
       // OPTIONAL qq_SideBCGrid.setMinimumSize(new Dimension(55, 67));
       // OPTIONAL qq_SideBCGrid.setPreferredSize(new Dimension(55, 67));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
       qq_SideBCGrid.add( getqq_InsertBC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 0; // Column 1
       qq_gbc1.gridy = 1; // Row 2
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc1.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc1.insets = new Insets(2, 2, 2, 2); // Top, Left, Bottom, Right Margin
       qq_SideBCGrid.add( getqq_DeleteBC(), qq_gbc1 );

     }
     return qq_SideBCGrid;
   }

   public void setqq_SideBCGrid(GridField value) {
     GridField oldValue = qq_SideBCGrid;
     qq_SideBCGrid = value;
     this.qq_Listeners.firePropertyChange("qq_SideBCGrid", oldValue, value);
   }

   /**
    * qq_TopContentsGrid: transformed from: qqds_GridField
    * TagId=131068
    * isInherited=FALSE
    * In forte this was a 2x1 grid field.
    * There are no cell margins set
    * The width policy is set to Parent, and the height policy is set to Parent.
    */
   protected void setqq_TopContentsGridProperties() {
     FrameColor.set(qq_TopContentsGrid, Constants.C_INHERIT);
     qq_TopContentsGrid.setCellGravity(Constants.CG_CENTER);
     qq_TopContentsGrid.setIgnoreInvisibleChildren(true);
     qq_TopContentsGrid.setCollapsed(true);
     qq_TopContentsGrid.setHeightPolicy(Constants.SP_TO_PARENT);
     qq_TopContentsGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_TopContentsGrid() {
     if (qq_TopContentsGrid == null) {
       qq_TopContentsGrid = CompoundFieldFactory.newGridField("TopContentsGrid", false);
       setqq_TopContentsGridProperties();
       qq_TopContentsGrid.setBackground(null);
       // OPTIONAL qq_TopContentsGrid.setSize(new Dimension(460, 67));
       // OPTIONAL qq_TopContentsGrid.setMinimumSize(new Dimension(460, 67));
       // OPTIONAL qq_TopContentsGrid.setPreferredSize(new Dimension(460, 67));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 1;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
       qq_gbc.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_TopContentsGrid.add( getqq_DataGrid(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.NORTHEAST; // Gravity - original: CG_TOPRIGHT
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_TopContentsGrid.add( getqq_SideBCGrid(), qq_gbc1 );

     }
     return qq_TopContentsGrid;
   }

   public void setqq_TopContentsGrid(GridField value) {
     GridField oldValue = qq_TopContentsGrid;
     qq_TopContentsGrid = value;
     this.qq_Listeners.firePropertyChange("qq_TopContentsGrid", oldValue, value);
   }

   /**
    * qq_OKBC: transformed from: qqds_PushButton
    * TagId=131022
    * isInherited=FALSE
    */
   public JButton getqq_OKBC() {
     if (qq_OKBC == null) {
       qq_OKBC = PushButtonFactory.newInstance("OKBC", "OK");
       UIutils.setMsgSet(qq_OKBC, 60100);
       UIutils.setMsgNumber(qq_OKBC, 156);
       qq_OKBC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_OKBC, Constants.SP_TO_PARTNER);
       HeightPolicy.set(qq_OKBC, Constants.SP_NATURAL);
       LayoutManagerHelper.setWidthPartner(qq_OKBC, getqq_ClearBC());
       // OPTIONAL qq_OKBC.setSize(new Dimension(48, 26));
       qq_OKBC.setMinimumSize(new Dimension(48, 26));
       qq_OKBC.setPreferredSize(new Dimension(48, 26));
     }
     return qq_OKBC;
   }

   public void setqq_OKBC(JButton value) {
     JButton oldValue = qq_OKBC;
     qq_OKBC = value;
     this.qq_Listeners.firePropertyChange("qq_OKBC", oldValue, value);
   }

   /**
    * qq_SearchBC: transformed from: qqds_PushButton
    * TagId=131021
    * isInherited=FALSE
    */
   public JButton getqq_SearchBC() {
     if (qq_SearchBC == null) {
       qq_SearchBC = PushButtonFactory.newInstance("SearchBC", "Search");
       UIutils.setMsgSet(qq_SearchBC, 60100);
       UIutils.setMsgNumber(qq_SearchBC, 157);
       qq_SearchBC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_SearchBC, Constants.SP_TO_PARTNER);
       HeightPolicy.set(qq_SearchBC, Constants.SP_NATURAL);
       LayoutManagerHelper.setWidthPartner(qq_SearchBC, getqq_CancelBC());
       // OPTIONAL qq_SearchBC.setSize(new Dimension(48, 26));
       qq_SearchBC.setMinimumSize(new Dimension(48, 26));
       qq_SearchBC.setPreferredSize(new Dimension(48, 26));
     }
     return qq_SearchBC;
   }

   public void setqq_SearchBC(JButton value) {
     JButton oldValue = qq_SearchBC;
     qq_SearchBC = value;
     this.qq_Listeners.firePropertyChange("qq_SearchBC", oldValue, value);
   }

   /**
    * qq_CancelBC: transformed from: qqds_PushButton
    * TagId=131019
    * isInherited=FALSE
    */
   public JButton getqq_CancelBC() {
     if (qq_CancelBC == null) {
       qq_CancelBC = PushButtonFactory.newInstance("CancelBC", "Cancel");
       UIutils.setMsgSet(qq_CancelBC, 60100);
       UIutils.setMsgNumber(qq_CancelBC, 151);
       WidthPolicy.set(qq_CancelBC, Constants.SP_TO_PARTNER);
       HeightPolicy.set(qq_CancelBC, Constants.SP_NATURAL);
       LayoutManagerHelper.setWidthPartner(qq_CancelBC, getqq_OKBC());
       // OPTIONAL qq_CancelBC.setSize(new Dimension(48, 26));
       qq_CancelBC.setMinimumSize(new Dimension(48, 26));
       qq_CancelBC.setPreferredSize(new Dimension(48, 26));
     }
     return qq_CancelBC;
   }

   public void setqq_CancelBC(JButton value) {
     JButton oldValue = qq_CancelBC;
     qq_CancelBC = value;
     this.qq_Listeners.firePropertyChange("qq_CancelBC", oldValue, value);
   }

   /**
    * qq_ClearBC: transformed from: qqds_PushButton
    * TagId=131015
    * isInherited=FALSE
    */
   public JButton getqq_ClearBC() {
     if (qq_ClearBC == null) {
       qq_ClearBC = PushButtonFactory.newInstance("ClearBC", "Clear");
       UIutils.setMsgSet(qq_ClearBC, 60100);
       UIutils.setMsgNumber(qq_ClearBC, 152);
       WidthPolicy.set(qq_ClearBC, Constants.SP_TO_PARTNER);
       HeightPolicy.set(qq_ClearBC, Constants.SP_NATURAL);
       LayoutManagerHelper.setWidthPartner(qq_ClearBC, getqq_SearchBC());
       // OPTIONAL qq_ClearBC.setSize(new Dimension(48, 26));
       qq_ClearBC.setMinimumSize(new Dimension(48, 26));
       qq_ClearBC.setPreferredSize(new Dimension(48, 26));
     }
     return qq_ClearBC;
   }

   public void setqq_ClearBC(JButton value) {
     JButton oldValue = qq_ClearBC;
     qq_ClearBC = value;
     this.qq_Listeners.firePropertyChange("qq_ClearBC", oldValue, value);
   }

   /**
    * qq_IndexBC: transformed from: qqds_DataField
    * TagId=131030
    * isInherited=FALSE
    */
   public DataField getqq_IndexBC() {
     if (qq_IndexBC == null) {
       // Mask type: MK_NONE
       qq_IndexBC = DataFieldFactory.newDataField("IndexBC", 4, IntegerData.class, DisplayProject.Constants.MK_NONE);
       qq_IndexBC.setOriginalFormatText(null);
       qq_IndexBC.setHorizontalAlignment(JTextField.RIGHT);
       getBindingManager().bindComponent(qq_IndexBC, "indexBC");
       WidthPolicy.set(qq_IndexBC, Constants.SP_EXPLICIT);
       HeightPolicy.set(qq_IndexBC, Constants.SP_NATURAL);
       // OPTIONAL qq_IndexBC.setSize(new Dimension(33, 19));
       qq_IndexBC.setMinimumSize(new Dimension(33, 19));
       qq_IndexBC.setPreferredSize(new Dimension(33, 19));
       ColourChange.setBackground(qq_IndexBC, UIutils.White);
     }
     return qq_IndexBC;
   }

   public void setqq_IndexBC(DataField value) {
     DataField oldValue = qq_IndexBC;
     qq_IndexBC = value;
     this.qq_Listeners.firePropertyChange("qq_IndexBC", oldValue, value);
   }

   /**
    * qq_OfBC: transformed from: qqds_TextGraphic
    * TagId=65538
    * isInherited=FALSE
    */
   public TextGraphic getqq_OfBC() {
     if (qq_OfBC == null) {
       qq_OfBC = GraphicFactory.newTextGraphic("of\n", "OfBC");
       UIutils.setMsgSet(qq_OfBC, 60100);
       UIutils.setMsgNumber(qq_OfBC, 606);
       qq_OfBC.setHorizontalAlignment( javax.swing.SwingConstants.LEFT );
       // OPTIONAL UIutils.reloadLabelText(qq_OfBC, mcat);
       WidthPolicy.set(qq_OfBC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_OfBC, Constants.SP_NATURAL);
       qq_OfBC.setPreferredSize(UIutils.labelWidth(qq_OfBC));
     }
     return qq_OfBC;
   }

   public void setqq_OfBC(TextGraphic value) {
     TextGraphic oldValue = qq_OfBC;
     qq_OfBC = value;
     this.qq_Listeners.firePropertyChange("qq_OfBC", oldValue, value);
   }

   /**
    * qq_MaxIndexBC: transformed from: qqds_DataField
    * TagId=131028
    * isInherited=FALSE
    */
   public DataField getqq_MaxIndexBC() {
     if (qq_MaxIndexBC == null) {
       // Mask type: MK_NONE
       qq_MaxIndexBC = DataFieldFactory.newDataField("MaxIndexBC", 4, IntegerData.class, DisplayProject.Constants.MK_NONE);
       qq_MaxIndexBC.setOriginalFormatText(null);
       qq_MaxIndexBC.setHorizontalAlignment(JTextField.LEFT);
       qq_MaxIndexBC.setBorder(null);
       qq_MaxIndexBC.setBackground(null);
       getBindingManager().bindComponent(qq_MaxIndexBC, "maxIndexBC");
       WidthPolicy.set(qq_MaxIndexBC, Constants.SP_EXPLICIT);
       HeightPolicy.set(qq_MaxIndexBC, Constants.SP_NATURAL);
       // OPTIONAL qq_MaxIndexBC.setSize(new Dimension(29, 14));
       qq_MaxIndexBC.setMinimumSize(new Dimension(29, 14));
       qq_MaxIndexBC.setPreferredSize(new Dimension(29, 14));
     }
     return qq_MaxIndexBC;
   }

   public void setqq_MaxIndexBC(DataField value) {
     DataField oldValue = qq_MaxIndexBC;
     qq_MaxIndexBC = value;
     this.qq_Listeners.firePropertyChange("qq_MaxIndexBC", oldValue, value);
   }

   /**
    * qq_IndexesBCGrid: transformed from: qqds_GridField
    * TagId=131031
    * isInherited=FALSE
    * In forte this was a 3x1 grid field.
    * There are no cell margins set
    * The width policy is set to Natural, and the height policy is set to Natural.
    */
   protected void setqq_IndexesBCGridProperties() {
     FrameColor.set(qq_IndexesBCGrid, Constants.C_INHERIT);
     qq_IndexesBCGrid.setCellGravity(Constants.CG_CENTER);
     qq_IndexesBCGrid.setIgnoreInvisibleChildren(true);
     qq_IndexesBCGrid.setCollapsed(true);
     qq_IndexesBCGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_IndexesBCGrid.setWidthPolicy(Constants.SP_NATURAL);
   }

   public GridField getqq_IndexesBCGrid() {
     if (qq_IndexesBCGrid == null) {
       qq_IndexesBCGrid = CompoundFieldFactory.newGridField("IndexesBCGrid", false);
       setqq_IndexesBCGridProperties();
       qq_IndexesBCGrid.setBackground(null);
       // OPTIONAL qq_IndexesBCGrid.setSize(new Dimension(88, 19));
       // OPTIONAL qq_IndexesBCGrid.setMinimumSize(new Dimension(88, 19));
       // OPTIONAL qq_IndexesBCGrid.setPreferredSize(new Dimension(88, 19));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_IndexesBCGrid.add( getqq_IndexBC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(0, 4, 0, 4); // Top, Left, Bottom, Right Margin
       qq_IndexesBCGrid.add( getqq_OfBC(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 2; // Column 3
       qq_gbc2.gridy = 0; // Row 1
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_IndexesBCGrid.add( getqq_MaxIndexBC(), qq_gbc2 );

     }
     return qq_IndexesBCGrid;
   }

   public void setqq_IndexesBCGrid(GridField value) {
     GridField oldValue = qq_IndexesBCGrid;
     qq_IndexesBCGrid = value;
     this.qq_Listeners.firePropertyChange("qq_IndexesBCGrid", oldValue, value);
   }

   /**
    * qq_FirstBC: transformed from: qqds_PictureButton
    * TagId=65548
    * isInherited=FALSE
    */
   public JButton getqq_FirstBC() {
     if (qq_FirstBC == null) {
       qq_FirstBC = PushButtonFactory.newInstance("FirstBC");
       qq_FirstBC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_FirstBC.png")));
       qq_FirstBC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_FirstBC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_FirstBC, Constants.SP_NATURAL);
       qq_FirstBC.setSize(new Dimension(24, 31));
       qq_FirstBC.setMinimumSize(new Dimension(24, 31));
       qq_FirstBC.setPreferredSize(new Dimension(24, 31));
     }
     return qq_FirstBC;
   }

   public void setqq_FirstBC(JButton value) {
     JButton oldValue = qq_FirstBC;
     qq_FirstBC = value;
     this.qq_Listeners.firePropertyChange("qq_FirstBC", oldValue, value);
   }

   /**
    * qq_PrevBC: transformed from: qqds_PictureButton
    * TagId=65549
    * isInherited=FALSE
    */
   public JButton getqq_PrevBC() {
     if (qq_PrevBC == null) {
       qq_PrevBC = PushButtonFactory.newInstance("PrevBC");
       qq_PrevBC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_PrevBC.png")));
       qq_PrevBC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_PrevBC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_PrevBC, Constants.SP_NATURAL);
       qq_PrevBC.setSize(new Dimension(24, 31));
       qq_PrevBC.setMinimumSize(new Dimension(24, 31));
       qq_PrevBC.setPreferredSize(new Dimension(24, 31));
     }
     return qq_PrevBC;
   }

   public void setqq_PrevBC(JButton value) {
     JButton oldValue = qq_PrevBC;
     qq_PrevBC = value;
     this.qq_Listeners.firePropertyChange("qq_PrevBC", oldValue, value);
   }

   /**
    * qq_NextBC: transformed from: qqds_PictureButton
    * TagId=65550
    * isInherited=FALSE
    */
   public JButton getqq_NextBC() {
     if (qq_NextBC == null) {
       qq_NextBC = PushButtonFactory.newInstance("NextBC");
       qq_NextBC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_NextBC.png")));
       qq_NextBC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_NextBC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_NextBC, Constants.SP_NATURAL);
       qq_NextBC.setSize(new Dimension(24, 31));
       qq_NextBC.setMinimumSize(new Dimension(24, 31));
       qq_NextBC.setPreferredSize(new Dimension(24, 31));
     }
     return qq_NextBC;
   }

   public void setqq_NextBC(JButton value) {
     JButton oldValue = qq_NextBC;
     qq_NextBC = value;
     this.qq_Listeners.firePropertyChange("qq_NextBC", oldValue, value);
   }

   /**
    * qq_LastBC: transformed from: qqds_PictureButton
    * TagId=65551
    * isInherited=FALSE
    */
   public JButton getqq_LastBC() {
     if (qq_LastBC == null) {
       qq_LastBC = PushButtonFactory.newInstance("LastBC");
       qq_LastBC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_LastBC.png")));
       qq_LastBC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_LastBC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_LastBC, Constants.SP_NATURAL);
       qq_LastBC.setSize(new Dimension(24, 31));
       qq_LastBC.setMinimumSize(new Dimension(24, 31));
       qq_LastBC.setPreferredSize(new Dimension(24, 31));
     }
     return qq_LastBC;
   }

   public void setqq_LastBC(JButton value) {
     JButton oldValue = qq_LastBC;
     qq_LastBC = value;
     this.qq_Listeners.firePropertyChange("qq_LastBC", oldValue, value);
   }

   /**
    * qq_ScrollBCGrid: transformed from: qqds_GridField
    * TagId=131032
    * isInherited=FALSE
    * In forte this was a 5x1 grid field.
    * There are no cell margins set
    * The width policy is set to Natural, and the height policy is set to Natural.
    */
   protected void setqq_ScrollBCGridProperties() {
     FrameColor.set(qq_ScrollBCGrid, Constants.C_INHERIT);
     qq_ScrollBCGrid.setCellGravity(Constants.CG_CENTER);
     qq_ScrollBCGrid.setCollapsed(true);
     qq_ScrollBCGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_ScrollBCGrid.setWidthPolicy(Constants.SP_NATURAL);
   }

   public GridField getqq_ScrollBCGrid() {
     if (qq_ScrollBCGrid == null) {
       qq_ScrollBCGrid = CompoundFieldFactory.newGridField("ScrollBCGrid", false);
       setqq_ScrollBCGridProperties();
       qq_ScrollBCGrid.setBackground(null);
       // OPTIONAL qq_ScrollBCGrid.setSize(new Dimension(194, 31));
       // OPTIONAL qq_ScrollBCGrid.setMinimumSize(new Dimension(194, 31));
       // OPTIONAL qq_ScrollBCGrid.setPreferredSize(new Dimension(194, 31));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollBCGrid.add( getqq_FirstBC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollBCGrid.add( getqq_PrevBC(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 2; // Column 3
       qq_gbc2.gridy = 0; // Row 1
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollBCGrid.add( getqq_NextBC(), qq_gbc2 );

       GridBagConstraints qq_gbc3 = new GridBagConstraints();
       qq_gbc3.gridx = 3; // Column 4
       qq_gbc3.gridy = 0; // Row 1
       qq_gbc3.weightx = 0;
       qq_gbc3.weighty = 0;
       qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc3.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollBCGrid.add( getqq_LastBC(), qq_gbc3 );

       GridBagConstraints qq_gbc4 = new GridBagConstraints();
       qq_gbc4.gridx = 4; // Column 5
       qq_gbc4.gridy = 0; // Row 1
       qq_gbc4.weightx = 0;
       qq_gbc4.weighty = 0;
       qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc4.insets = new Insets(0, 4, 0, 4); // Top, Left, Bottom, Right Margin
       qq_ScrollBCGrid.add( getqq_IndexesBCGrid(), qq_gbc4 );

     }
     return qq_ScrollBCGrid;
   }

   public void setqq_ScrollBCGrid(GridField value) {
     GridField oldValue = qq_ScrollBCGrid;
     qq_ScrollBCGrid = value;
     this.qq_Listeners.firePropertyChange("qq_ScrollBCGrid", oldValue, value);
   }

   /**
    * qq_ButtonGrid: transformed from: qqds_GridField
    * TagId=131035
    * isInherited=FALSE
    * In forte this was a 5x1 grid field.
    * The top and bottom cell margins are both 100 mils and the left and right cell margins are both 50 mils.
    * The width policy is set to Natural, and the height policy is set to Natural.
    */
   protected void setqq_ButtonGridProperties() {
     FrameColor.set(qq_ButtonGrid, Constants.C_INHERIT);
     qq_ButtonGrid.setCellTopMargin(50);
     qq_ButtonGrid.setCellBottomMargin(50);
     qq_ButtonGrid.setCellLeftMargin(25);
     qq_ButtonGrid.setCellRightMargin(25);
     qq_ButtonGrid.setCellGravity(Constants.CG_CENTER);
     qq_ButtonGrid.setIgnoreInvisibleChildren(true);
     qq_ButtonGrid.setCollapsed(true);
     qq_ButtonGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_ButtonGrid.setWidthPolicy(Constants.SP_NATURAL);
   }

   public GridField getqq_ButtonGrid() {
     if (qq_ButtonGrid == null) {
       qq_ButtonGrid = CompoundFieldFactory.newGridField("ButtonGrid", false);
       setqq_ButtonGridProperties();
       qq_ButtonGrid.setBackground(null);
       // OPTIONAL qq_ButtonGrid.setSize(new Dimension(420, 52));
       // OPTIONAL qq_ButtonGrid.setMinimumSize(new Dimension(420, 52));
       // OPTIONAL qq_ButtonGrid.setPreferredSize(new Dimension(420, 52));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
       qq_ButtonGrid.add( getqq_OKBC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
       qq_ButtonGrid.add( getqq_ClearBC(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 2; // Column 3
       qq_gbc2.gridy = 0; // Row 1
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
       qq_ButtonGrid.add( getqq_SearchBC(), qq_gbc2 );

       GridBagConstraints qq_gbc3 = new GridBagConstraints();
       qq_gbc3.gridx = 3; // Column 4
       qq_gbc3.gridy = 0; // Row 1
       qq_gbc3.weightx = 0;
       qq_gbc3.weighty = 0;
       qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc3.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
       qq_ButtonGrid.add( getqq_CancelBC(), qq_gbc3 );

       GridBagConstraints qq_gbc4 = new GridBagConstraints();
       qq_gbc4.gridx = 4; // Column 5
       qq_gbc4.gridy = 0; // Row 1
       qq_gbc4.weightx = 0;
       qq_gbc4.weighty = 0;
       qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc4.insets = new Insets(4, 2, 4, 2); // Top, Left, Bottom, Right Margin
       qq_ButtonGrid.add( getqq_ScrollBCGrid(), qq_gbc4 );

     }
     return qq_ButtonGrid;
   }

   public void setqq_ButtonGrid(GridField value) {
     GridField oldValue = qq_ButtonGrid;
     qq_ButtonGrid = value;
     this.qq_Listeners.firePropertyChange("qq_ButtonGrid", oldValue, value);
   }

   /**
    * qq_FolderPanel: transformed from: qqds_Panel
    * TagId=130953
    * isInherited=FALSE
    */
   public Panel getqq_FolderPanel() {
     if (qq_FolderPanel == null) {
       qq_FolderPanel = CompoundFieldFactory.newPanel("FolderPanel", Constants.W_NONE, "", UIutils.Inherit);
       // OPTIONAL UIutils.reloadLabelText(qq_FolderPanel, mcat);
       ColourChange.setBackground(qq_FolderPanel, UIutils.PaleCyan);
       WidthPolicy.set(qq_FolderPanel, Constants.SP_TO_PARENT);
       HeightPolicy.set(qq_FolderPanel, Constants.SP_EXPLICIT);
       qq_FolderPanel.setSize(new Dimension(9600, 60));
       // OPTIONAL qq_FolderPanel.setMinimumSize(new Dimension(9600, 60));
       // OPTIONAL qq_FolderPanel.setPreferredSize(new Dimension(9600, 60));
     }
     return qq_FolderPanel;
   }

   public void setqq_FolderPanel(Panel value) {
     Panel oldValue = qq_FolderPanel;
     qq_FolderPanel = value;
     this.qq_Listeners.firePropertyChange("qq_FolderPanel", oldValue, value);
   }

   /**
    * qq_NestedGrid: transformed from: qqds_GridField
    * TagId=130956
    * isInherited=FALSE
    * In forte this was a 1x1 grid field.
    * The top and bottom cell margins are both 50 mils, but neither the left nor the right cell margins are set.
    * The width policy is set to Parent, and the height policy is set to Natural.
    */
   protected void setqq_NestedGridProperties() {
     FrameColor.set(qq_NestedGrid, Constants.C_INHERIT);
     qq_NestedGrid.setCellTopMargin(25);
     qq_NestedGrid.setCellBottomMargin(25);
     qq_NestedGrid.setCellGravity(Constants.CG_CENTER);
     qq_NestedGrid.setIgnoreInvisibleChildren(true);
     qq_NestedGrid.setCollapsed(true);
     qq_NestedGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_NestedGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_NestedGrid() {
     if (qq_NestedGrid == null) {
       qq_NestedGrid = CompoundFieldFactory.newGridField("NestedGrid", false);
       setqq_NestedGridProperties();
       qq_NestedGrid.setBackground(null);
       // OPTIONAL qq_NestedGrid.setSize(new Dimension(460, 71));
       // OPTIONAL qq_NestedGrid.setMinimumSize(new Dimension(460, 71));
       // OPTIONAL qq_NestedGrid.setPreferredSize(new Dimension(460, 71));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
       qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc.insets = new Insets(2, 0, 2, 0); // Top, Left, Bottom, Right Margin
       qq_NestedGrid.add( getqq_FolderPanel(), qq_gbc );

     }
     return qq_NestedGrid;
   }

   public void setqq_NestedGrid(GridField value) {
     GridField oldValue = qq_NestedGrid;
     qq_NestedGrid = value;
     this.qq_Listeners.firePropertyChange("qq_NestedGrid", oldValue, value);
   }

   /**
    * qq_ContentsGrid: transformed from: qqds_GridField
    * TagId=131069
    * isInherited=FALSE
    * In forte this was a 1x3 grid field.
    * There are no cell margins set
    * The width policy is set to Parent, and the height policy is set to Parent.
    */
   protected void setqq_ContentsGridProperties() {
     FrameColor.set(qq_ContentsGrid, Constants.C_INHERIT);
     qq_ContentsGrid.setCellGravity(Constants.CG_CENTER);
     qq_ContentsGrid.setIgnoreInvisibleChildren(true);
     qq_ContentsGrid.setCollapsed(true);
     qq_ContentsGrid.setHeightPolicy(Constants.SP_TO_PARENT);
     qq_ContentsGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_ContentsGrid() {
     if (qq_ContentsGrid == null) {
       qq_ContentsGrid = CompoundFieldFactory.newGridField("ContentsGrid", false);
       setqq_ContentsGridProperties();
       qq_ContentsGrid.setBackground(null);
       // OPTIONAL qq_ContentsGrid.setSize(new Dimension(460, 189));
       // OPTIONAL qq_ContentsGrid.setMinimumSize(new Dimension(460, 189));
       // OPTIONAL qq_ContentsGrid.setPreferredSize(new Dimension(460, 189));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
       qq_gbc.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ContentsGrid.add( getqq_TopContentsGrid(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 0; // Column 1
       qq_gbc1.gridy = 1; // Row 2
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc1.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ContentsGrid.add( getqq_NestedGrid(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 0; // Column 1
       qq_gbc2.gridy = 2; // Row 3
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ContentsGrid.add( getqq_ButtonGrid(), qq_gbc2 );

     }
     return qq_ContentsGrid;
   }

   public void setqq_ContentsGrid(GridField value) {
     GridField oldValue = qq_ContentsGrid;
     qq_ContentsGrid = value;
     this.qq_Listeners.firePropertyChange("qq_ContentsGrid", oldValue, value);
   }

   /**
    * qq_StatusText: transformed from: qqds_DataField
    * TagId=131013
    * isInherited=FALSE
    */
   public DataField getqq_StatusText() {
     if (qq_StatusText == null) {
       // Mask type: MK_NONE
       qq_StatusText = DataFieldFactory.newDataField("StatusText", 75, TextData.class, DisplayProject.Constants.MK_NONE);
       qq_StatusText.setValue("");
       qq_StatusText.setOriginalFormatText(null);
       qq_StatusText.setHorizontalAlignment(JTextField.LEFT);
       getBindingManager().bindComponent(qq_StatusText, "statusText");
       WidthPolicy.set(qq_StatusText, Constants.SP_TO_PARENT);
       HeightPolicy.set(qq_StatusText, Constants.SP_NATURAL);
       // OPTIONAL qq_StatusText.setSize(new Dimension(460, 19));
       qq_StatusText.setMinimumSize(new Dimension(460, 19));
       qq_StatusText.setPreferredSize(new Dimension(460, 19));
       qq_StatusText.setFont(new Font("Default", Font.PLAIN, 12));
       ColourChange.setBackground(qq_StatusText, UIutils.Gray2);
     }
     return qq_StatusText;
   }

   public void setqq_StatusText(DataField value) {
     DataField oldValue = qq_StatusText;
     qq_StatusText = value;
     this.qq_Listeners.firePropertyChange("qq_StatusText", oldValue, value);
   }

   /**
    * qq_StatusLineGrid: transformed from: qqds_GridField
    * TagId=131014
    * isInherited=FALSE
    * In forte this was a 1x1 grid field.
    * There are no cell margins set
    * The width policy is set to Parent, and the height policy is set to Natural.
    */
   protected void setqq_StatusLineGridProperties() {
     FrameColor.set(qq_StatusLineGrid, Constants.C_INHERIT);
     qq_StatusLineGrid.setCellGravity(Constants.CG_CENTER);
     qq_StatusLineGrid.setCollapsed(true);
     qq_StatusLineGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_StatusLineGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_StatusLineGrid() {
     if (qq_StatusLineGrid == null) {
       qq_StatusLineGrid = CompoundFieldFactory.newGridField("StatusLineGrid", false);
       setqq_StatusLineGridProperties();
       ColourChange.setBackground(qq_StatusLineGrid, UIutils.Black);
       // OPTIONAL qq_StatusLineGrid.setSize(new Dimension(460, 19));
       // OPTIONAL qq_StatusLineGrid.setMinimumSize(new Dimension(460, 19));
       // OPTIONAL qq_StatusLineGrid.setPreferredSize(new Dimension(460, 19));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.SOUTHWEST; // Gravity - original: CG_BOTTOMLEFT
       qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_StatusLineGrid.add( getqq_StatusText(), qq_gbc );

     }
     return qq_StatusLineGrid;
   }

   public void setqq_StatusLineGrid(GridField value) {
     GridField oldValue = qq_StatusLineGrid;
     qq_StatusLineGrid = value;
     this.qq_Listeners.firePropertyChange("qq_StatusLineGrid", oldValue, value);
   }

   /**
    * qq_SearchTC: transformed from: qqds_PictureButton
    * TagId=131010
    * isInherited=FALSE
    */
   public JButton getqq_SearchTC() {
     if (qq_SearchTC == null) {
       qq_SearchTC = PushButtonFactory.newInstance("SearchTC");
       qq_SearchTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_SearchTC.png")));
       qq_SearchTC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_SearchTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_SearchTC, Constants.SP_NATURAL);
       qq_SearchTC.setSize(new Dimension(31, 31));
       qq_SearchTC.setMinimumSize(new Dimension(31, 31));
       qq_SearchTC.setPreferredSize(new Dimension(31, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_SearchTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_SearchTC, 516, 60100);
       // FloatOverText
       qq_SearchTC.setToolTipText("Search");
       // StatusText
       StatusText.set(qq_SearchTC, "Allows you to define and perform searches.");
     }
     return qq_SearchTC;
   }

   public void setqq_SearchTC(JButton value) {
     JButton oldValue = qq_SearchTC;
     qq_SearchTC = value;
     this.qq_Listeners.firePropertyChange("qq_SearchTC", oldValue, value);
   }

   /**
    * qq_ModeTC: transformed from: qqds_PaletteList
    * TagId=131009
    * isInherited=FALSE
    */
   public PaletteList getqq_ModeTC() {
     if (qq_ModeTC == null) {
       qq_ModeTC = PaletteListFactory.newPaletteList();
       qq_ModeTC.setOrientation( Constants.FO_VERTICAL );
       qq_ModeTC.setWrapSize( 2 );
       Array_Of_ListElement<ListElement> aole = new Array_Of_ListElement<ListElement>();
       aole.add(new ListElement(new ImageData(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_ModeTC_1.png"))),
           1, "Edit Mode\nAllows you to view, insert, update, and delete records.", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
       aole.add(new ListElement(new ImageData(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_ModeTC_2.png"))),
           2, "Search Mode\nAllows you to define and perform searches.", ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_TEXTVALUE));
       getBindingManager().bindComponent(qq_ModeTC, "modeTC", aole);
       WidthPolicy.set(qq_ModeTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_ModeTC, Constants.SP_NATURAL);
       qq_ModeTC.setSize(new Dimension(60, 33));
       qq_ModeTC.setMinimumSize(new Dimension(60, 33));
       qq_ModeTC.setPreferredSize(new Dimension(60, 33));
       // HelpTopic
       CSH.setHelpIDString(qq_ModeTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_ModeTC, 509, 60100);
       // FloatOverText
       qq_ModeTC.setToolTipText("Mode");
       // StatusText
       StatusText.set(qq_ModeTC, "Allows you to change between Search Mode and Edit Mode.");
     }
     return qq_ModeTC;
   }

   public void setqq_ModeTC(PaletteList value) {
     PaletteList oldValue = qq_ModeTC;
     qq_ModeTC = value;
     this.qq_Listeners.firePropertyChange("qq_ModeTC", oldValue, value);
   }

   /**
    * qq_IndexTC: transformed from: qqds_DataField
    * TagId=131002
    * isInherited=FALSE
    */
   public DataField getqq_IndexTC() {
     if (qq_IndexTC == null) {
       // Mask type: MK_NONE
       qq_IndexTC = DataFieldFactory.newDataField("IndexTC", 4, IntegerData.class, DisplayProject.Constants.MK_NONE);
       qq_IndexTC.setOriginalFormatText(null);
       qq_IndexTC.setHorizontalAlignment(JTextField.RIGHT);
       getBindingManager().bindComponent(qq_IndexTC, "indexTC");
       WidthPolicy.set(qq_IndexTC, Constants.SP_EXPLICIT);
       HeightPolicy.set(qq_IndexTC, Constants.SP_NATURAL);
       // OPTIONAL qq_IndexTC.setSize(new Dimension(33, 19));
       qq_IndexTC.setMinimumSize(new Dimension(33, 19));
       qq_IndexTC.setPreferredSize(new Dimension(33, 19));
       ColourChange.setBackground(qq_IndexTC, UIutils.White);
     }
     return qq_IndexTC;
   }

   public void setqq_IndexTC(DataField value) {
     DataField oldValue = qq_IndexTC;
     qq_IndexTC = value;
     this.qq_Listeners.firePropertyChange("qq_IndexTC", oldValue, value);
   }

   /**
    * qq_OfTC: transformed from: qqds_TextGraphic
    * TagId=65539
    * isInherited=FALSE
    */
   public TextGraphic getqq_OfTC() {
     if (qq_OfTC == null) {
       qq_OfTC = GraphicFactory.newTextGraphic("of\n", "OfTC");
       UIutils.setMsgSet(qq_OfTC, 60100);
       UIutils.setMsgNumber(qq_OfTC, 606);
       qq_OfTC.setHorizontalAlignment( javax.swing.SwingConstants.LEFT );
       // OPTIONAL UIutils.reloadLabelText(qq_OfTC, mcat);
       WidthPolicy.set(qq_OfTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_OfTC, Constants.SP_NATURAL);
       qq_OfTC.setPreferredSize(UIutils.labelWidth(qq_OfTC));
     }
     return qq_OfTC;
   }

   public void setqq_OfTC(TextGraphic value) {
     TextGraphic oldValue = qq_OfTC;
     qq_OfTC = value;
     this.qq_Listeners.firePropertyChange("qq_OfTC", oldValue, value);
   }

   /**
    * qq_MaxIndexTC: transformed from: qqds_DataField
    * TagId=131000
    * isInherited=FALSE
    */
   public DataField getqq_MaxIndexTC() {
     if (qq_MaxIndexTC == null) {
       // Mask type: MK_NONE
       qq_MaxIndexTC = DataFieldFactory.newDataField("MaxIndexTC", 4, IntegerData.class, DisplayProject.Constants.MK_NONE);
       qq_MaxIndexTC.setOriginalFormatText(null);
       qq_MaxIndexTC.setHorizontalAlignment(JTextField.LEFT);
       qq_MaxIndexTC.setBorder(null);
       qq_MaxIndexTC.setBackground(null);
       getBindingManager().bindComponent(qq_MaxIndexTC, "maxIndexTC");
       WidthPolicy.set(qq_MaxIndexTC, Constants.SP_EXPLICIT);
       HeightPolicy.set(qq_MaxIndexTC, Constants.SP_NATURAL);
       // OPTIONAL qq_MaxIndexTC.setSize(new Dimension(29, 14));
       qq_MaxIndexTC.setMinimumSize(new Dimension(29, 14));
       qq_MaxIndexTC.setPreferredSize(new Dimension(29, 14));
     }
     return qq_MaxIndexTC;
   }

   public void setqq_MaxIndexTC(DataField value) {
     DataField oldValue = qq_MaxIndexTC;
     qq_MaxIndexTC = value;
     this.qq_Listeners.firePropertyChange("qq_MaxIndexTC", oldValue, value);
   }

   /**
    * qq_IndexesTCGrid: transformed from: qqds_GridField
    * TagId=131003
    * isInherited=FALSE
    * In forte this was a 3x1 grid field.
    * There are no cell margins set
    * The width policy is set to Natural, and the height policy is set to Natural.
    */
   protected void setqq_IndexesTCGridProperties() {
     FrameColor.set(qq_IndexesTCGrid, Constants.C_INHERIT);
     qq_IndexesTCGrid.setCellGravity(Constants.CG_CENTER);
     qq_IndexesTCGrid.setIgnoreInvisibleChildren(true);
     qq_IndexesTCGrid.setCollapsed(true);
     qq_IndexesTCGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_IndexesTCGrid.setWidthPolicy(Constants.SP_NATURAL);
   }

   public GridField getqq_IndexesTCGrid() {
     if (qq_IndexesTCGrid == null) {
       qq_IndexesTCGrid = CompoundFieldFactory.newGridField("IndexesTCGrid", false);
       setqq_IndexesTCGridProperties();
       qq_IndexesTCGrid.setBackground(null);
       // OPTIONAL qq_IndexesTCGrid.setSize(new Dimension(88, 19));
       // OPTIONAL qq_IndexesTCGrid.setMinimumSize(new Dimension(88, 19));
       // OPTIONAL qq_IndexesTCGrid.setPreferredSize(new Dimension(88, 19));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_IndexesTCGrid.add( getqq_IndexTC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(0, 4, 0, 4); // Top, Left, Bottom, Right Margin
       qq_IndexesTCGrid.add( getqq_OfTC(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 2; // Column 3
       qq_gbc2.gridy = 0; // Row 1
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_IndexesTCGrid.add( getqq_MaxIndexTC(), qq_gbc2 );

     }
     return qq_IndexesTCGrid;
   }

   public void setqq_IndexesTCGrid(GridField value) {
     GridField oldValue = qq_IndexesTCGrid;
     qq_IndexesTCGrid = value;
     this.qq_Listeners.firePropertyChange("qq_IndexesTCGrid", oldValue, value);
   }

   /**
    * qq_FirstTC: transformed from: qqds_PictureButton
    * TagId=65552
    * isInherited=FALSE
    */
   public JButton getqq_FirstTC() {
     if (qq_FirstTC == null) {
       qq_FirstTC = PushButtonFactory.newInstance("FirstTC");
       qq_FirstTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_FirstTC.png")));
       qq_FirstTC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_FirstTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_FirstTC, Constants.SP_NATURAL);
       qq_FirstTC.setSize(new Dimension(24, 31));
       qq_FirstTC.setMinimumSize(new Dimension(24, 31));
       qq_FirstTC.setPreferredSize(new Dimension(24, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_FirstTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_FirstTC, 506, 60100);
       // FloatOverText
       qq_FirstTC.setToolTipText("First Record");
       // StatusText
       StatusText.set(qq_FirstTC, "Scrolls to the First Record in the result set.");
     }
     return qq_FirstTC;
   }

   public void setqq_FirstTC(JButton value) {
     JButton oldValue = qq_FirstTC;
     qq_FirstTC = value;
     this.qq_Listeners.firePropertyChange("qq_FirstTC", oldValue, value);
   }

   /**
    * qq_PrevTC: transformed from: qqds_PictureButton
    * TagId=65553
    * isInherited=FALSE
    */
   public JButton getqq_PrevTC() {
     if (qq_PrevTC == null) {
       qq_PrevTC = PushButtonFactory.newInstance("PrevTC");
       qq_PrevTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_PrevTC.png")));
       qq_PrevTC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_PrevTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_PrevTC, Constants.SP_NATURAL);
       qq_PrevTC.setSize(new Dimension(24, 31));
       qq_PrevTC.setMinimumSize(new Dimension(24, 31));
       qq_PrevTC.setPreferredSize(new Dimension(24, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_PrevTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_PrevTC, 514, 60100);
       // FloatOverText
       qq_PrevTC.setToolTipText("Previous Record");
       // StatusText
       StatusText.set(qq_PrevTC, "Scrolls to the Previous Record  in the result set.");
     }
     return qq_PrevTC;
   }

   public void setqq_PrevTC(JButton value) {
     JButton oldValue = qq_PrevTC;
     qq_PrevTC = value;
     this.qq_Listeners.firePropertyChange("qq_PrevTC", oldValue, value);
   }

   /**
    * qq_NextTC: transformed from: qqds_PictureButton
    * TagId=65554
    * isInherited=FALSE
    */
   public JButton getqq_NextTC() {
     if (qq_NextTC == null) {
       qq_NextTC = PushButtonFactory.newInstance("NextTC");
       qq_NextTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_NextTC.png")));
       qq_NextTC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_NextTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_NextTC, Constants.SP_NATURAL);
       qq_NextTC.setSize(new Dimension(24, 31));
       qq_NextTC.setMinimumSize(new Dimension(24, 31));
       qq_NextTC.setPreferredSize(new Dimension(24, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_NextTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_NextTC, 512, 60100);
       // FloatOverText
       qq_NextTC.setToolTipText("Next Record");
       // StatusText
       StatusText.set(qq_NextTC, "Scrolls to the Next Record in the result set.");
     }
     return qq_NextTC;
   }

   public void setqq_NextTC(JButton value) {
     JButton oldValue = qq_NextTC;
     qq_NextTC = value;
     this.qq_Listeners.firePropertyChange("qq_NextTC", oldValue, value);
   }

   /**
    * qq_LastTC: transformed from: qqds_PictureButton
    * TagId=65555
    * isInherited=FALSE
    */
   public JButton getqq_LastTC() {
     if (qq_LastTC == null) {
       qq_LastTC = PushButtonFactory.newInstance("LastTC");
       qq_LastTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_LastTC.png")));
       qq_LastTC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_LastTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_LastTC, Constants.SP_NATURAL);
       qq_LastTC.setSize(new Dimension(24, 31));
       qq_LastTC.setMinimumSize(new Dimension(24, 31));
       qq_LastTC.setPreferredSize(new Dimension(24, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_LastTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_LastTC, 508, 60100);
       // FloatOverText
       qq_LastTC.setToolTipText("Last Record");
       // StatusText
       StatusText.set(qq_LastTC, "Scrolls to the Last Record in the result set.");
     }
     return qq_LastTC;
   }

   public void setqq_LastTC(JButton value) {
     JButton oldValue = qq_LastTC;
     qq_LastTC = value;
     this.qq_Listeners.firePropertyChange("qq_LastTC", oldValue, value);
   }

   /**
    * qq_ScrollTCGrid: transformed from: qqds_GridField
    * TagId=131008
    * isInherited=FALSE
    * In forte this was a 5x1 grid field.
    * There are no cell margins set
    * The width policy is set to Natural, and the height policy is set to Natural.
    */
   protected void setqq_ScrollTCGridProperties() {
     FrameColor.set(qq_ScrollTCGrid, Constants.C_INHERIT);
     qq_ScrollTCGrid.setCellGravity(Constants.CG_CENTER);
     qq_ScrollTCGrid.setCollapsed(true);
     qq_ScrollTCGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_ScrollTCGrid.setWidthPolicy(Constants.SP_NATURAL);
   }

   public GridField getqq_ScrollTCGrid() {
     if (qq_ScrollTCGrid == null) {
       qq_ScrollTCGrid = CompoundFieldFactory.newGridField("ScrollTCGrid", false);
       setqq_ScrollTCGridProperties();
       qq_ScrollTCGrid.setBackground(null);
       // OPTIONAL qq_ScrollTCGrid.setSize(new Dimension(189, 31));
       // OPTIONAL qq_ScrollTCGrid.setMinimumSize(new Dimension(189, 31));
       // OPTIONAL qq_ScrollTCGrid.setPreferredSize(new Dimension(189, 31));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollTCGrid.add( getqq_FirstTC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollTCGrid.add( getqq_PrevTC(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 2; // Column 3
       qq_gbc2.gridy = 0; // Row 1
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollTCGrid.add( getqq_NextTC(), qq_gbc2 );

       GridBagConstraints qq_gbc3 = new GridBagConstraints();
       qq_gbc3.gridx = 3; // Column 4
       qq_gbc3.gridy = 0; // Row 1
       qq_gbc3.weightx = 0;
       qq_gbc3.weighty = 0;
       qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc3.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollTCGrid.add( getqq_LastTC(), qq_gbc3 );

       GridBagConstraints qq_gbc4 = new GridBagConstraints();
       qq_gbc4.gridx = 4; // Column 5
       qq_gbc4.gridy = 0; // Row 1
       qq_gbc4.weightx = 0;
       qq_gbc4.weighty = 0;
       qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc4.insets = new Insets(0, 4, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ScrollTCGrid.add( getqq_IndexesTCGrid(), qq_gbc4 );

     }
     return qq_ScrollTCGrid;
   }

   public void setqq_ScrollTCGrid(GridField value) {
     GridField oldValue = qq_ScrollTCGrid;
     qq_ScrollTCGrid = value;
     this.qq_Listeners.firePropertyChange("qq_ScrollTCGrid", oldValue, value);
   }

   /**
    * qq_SaveTC: transformed from: qqds_PictureButton
    * TagId=130998
    * isInherited=FALSE
    */
   public JButton getqq_SaveTC() {
     if (qq_SaveTC == null) {
       qq_SaveTC = PushButtonFactory.newInstance("SaveTC");
       qq_SaveTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_SaveTC.png")));
       qq_SaveTC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_SaveTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_SaveTC, Constants.SP_NATURAL);
       qq_SaveTC.setSize(new Dimension(31, 31));
       qq_SaveTC.setMinimumSize(new Dimension(31, 31));
       qq_SaveTC.setPreferredSize(new Dimension(31, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_SaveTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_SaveTC, 515, 60100);
       // FloatOverText
       qq_SaveTC.setToolTipText("Save");
       // StatusText
       StatusText.set(qq_SaveTC, "Saves all changes to result set in the database.");
     }
     return qq_SaveTC;
   }

   public void setqq_SaveTC(JButton value) {
     JButton oldValue = qq_SaveTC;
     qq_SaveTC = value;
     this.qq_Listeners.firePropertyChange("qq_SaveTC", oldValue, value);
   }

   /**
    * qq_InsertTC: transformed from: qqds_PictureButton
    * TagId=130996
    * isInherited=FALSE
    */
   public JButton getqq_InsertTC() {
     if (qq_InsertTC == null) {
       qq_InsertTC = PushButtonFactory.newInstance("InsertTC");
       qq_InsertTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_InsertTC.png")));
       qq_InsertTC.setVerifyInputWhenFocusTarget(true);
       WidthPolicy.set(qq_InsertTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_InsertTC, Constants.SP_NATURAL);
       qq_InsertTC.setSize(new Dimension(31, 31));
       qq_InsertTC.setMinimumSize(new Dimension(31, 31));
       qq_InsertTC.setPreferredSize(new Dimension(31, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_InsertTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_InsertTC, 507, 60100);
       // FloatOverText
       qq_InsertTC.setToolTipText("Insert Record into Result Set");
       // StatusText
       StatusText.set(qq_InsertTC, "Inserts a new, empty record into the result set.");
     }
     return qq_InsertTC;
   }

   public void setqq_InsertTC(JButton value) {
     JButton oldValue = qq_InsertTC;
     qq_InsertTC = value;
     this.qq_Listeners.firePropertyChange("qq_InsertTC", oldValue, value);
   }

   /**
    * qq_DeleteTC: transformed from: qqds_PictureButton
    * TagId=130995
    * isInherited=FALSE
    */
   public JButton getqq_DeleteTC() {
     if (qq_DeleteTC == null) {
       qq_DeleteTC = PushButtonFactory.newInstance("DeleteTC");
       qq_DeleteTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_DeleteTC.png")));
       WidthPolicy.set(qq_DeleteTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_DeleteTC, Constants.SP_NATURAL);
       qq_DeleteTC.setSize(new Dimension(31, 31));
       qq_DeleteTC.setMinimumSize(new Dimension(31, 31));
       qq_DeleteTC.setPreferredSize(new Dimension(31, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_DeleteTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_DeleteTC, 504, 60100);
       // FloatOverText
       qq_DeleteTC.setToolTipText("Delete Record from Result Set");
       // StatusText
       StatusText.set(qq_DeleteTC, "Removes the selected record from the result set.");
     }
     return qq_DeleteTC;
   }

   public void setqq_DeleteTC(JButton value) {
     JButton oldValue = qq_DeleteTC;
     qq_DeleteTC = value;
     this.qq_Listeners.firePropertyChange("qq_DeleteTC", oldValue, value);
   }

   /**
    * qq_EditTCGrid: transformed from: qqds_GridField
    * TagId=130999
    * isInherited=FALSE
    * In forte this was a 3x1 grid field.
    * There are no cell margins set
    * The width policy is set to Natural, and the height policy is set to Natural.
    */
   protected void setqq_EditTCGridProperties() {
     FrameColor.set(qq_EditTCGrid, Constants.C_INHERIT);
     qq_EditTCGrid.setCellGravity(Constants.CG_CENTER);
     qq_EditTCGrid.setCollapsed(true);
     qq_EditTCGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_EditTCGrid.setWidthPolicy(Constants.SP_NATURAL);
   }

   public GridField getqq_EditTCGrid() {
     if (qq_EditTCGrid == null) {
       qq_EditTCGrid = CompoundFieldFactory.newGridField("EditTCGrid", false);
       setqq_EditTCGridProperties();
       qq_EditTCGrid.setBackground(null);
       // OPTIONAL qq_EditTCGrid.setSize(new Dimension(103, 31));
       // OPTIONAL qq_EditTCGrid.setMinimumSize(new Dimension(103, 31));
       // OPTIONAL qq_EditTCGrid.setPreferredSize(new Dimension(103, 31));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(0, 0, 0, 6); // Top, Left, Bottom, Right Margin
       qq_EditTCGrid.add( getqq_SaveTC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_EditTCGrid.add( getqq_InsertTC(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 2; // Column 3
       qq_gbc2.gridy = 0; // Row 1
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_EditTCGrid.add( getqq_DeleteTC(), qq_gbc2 );

     }
     return qq_EditTCGrid;
   }

   public void setqq_EditTCGrid(GridField value) {
     GridField oldValue = qq_EditTCGrid;
     qq_EditTCGrid = value;
     this.qq_Listeners.firePropertyChange("qq_EditTCGrid", oldValue, value);
   }

   /**
    * qq_ClearTC: transformed from: qqds_PictureButton
    * TagId=130997
    * isInherited=FALSE
    */
   public JButton getqq_ClearTC() {
     if (qq_ClearTC == null) {
       qq_ClearTC = PushButtonFactory.newInstance("ClearTC");
       qq_ClearTC.setIcon(new ImageIcon(ExpressContainerWindow.class.getResource("ExpressContainerWindow.qq_ClearTC.png")));
       WidthPolicy.set(qq_ClearTC, Constants.SP_NATURAL);
       HeightPolicy.set(qq_ClearTC, Constants.SP_NATURAL);
       qq_ClearTC.setSize(new Dimension(31, 31));
       qq_ClearTC.setMinimumSize(new Dimension(31, 31));
       qq_ClearTC.setPreferredSize(new Dimension(31, 31));
       // HelpTopic
       CSH.setHelpIDString(qq_ClearTC, "");
       // Help Msg catalog
       UIutils.setFloatOverMsgAndSetNumber(qq_ClearTC, 501, 60100);
       // FloatOverText
       qq_ClearTC.setToolTipText("Clear Result Set");
       // StatusText
       StatusText.set(qq_ClearTC, "Aborts any changes and creates an empty result set.");
     }
     return qq_ClearTC;
   }

   public void setqq_ClearTC(JButton value) {
     JButton oldValue = qq_ClearTC;
     qq_ClearTC = value;
     this.qq_Listeners.firePropertyChange("qq_ClearTC", oldValue, value);
   }

   /**
    * qq_ToolBarBackgroundGrid: transformed from: qqds_GridField
    * TagId=131011
    * isInherited=FALSE
    * In forte this was a 5x1 grid field.
    * The top and bottom cell margins are both 30 mils, but neither the left nor the right cell margins are set.
    * The width policy is set to Parent, and the height policy is set to Natural.
    */
   protected void setqq_ToolBarBackgroundGridProperties() {
     FrameColor.set(qq_ToolBarBackgroundGrid, Constants.C_INHERIT);
     qq_ToolBarBackgroundGrid.setCellTopMargin(15);
     qq_ToolBarBackgroundGrid.setCellBottomMargin(15);
     qq_ToolBarBackgroundGrid.setCellGravity(Constants.CG_CENTER);
     qq_ToolBarBackgroundGrid.setIgnoreInvisibleChildren(true);
     qq_ToolBarBackgroundGrid.setCollapsed(true);
     qq_ToolBarBackgroundGrid.setColumnAlignment(Constants.CA_LEFT);
     qq_ToolBarBackgroundGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_ToolBarBackgroundGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_ToolBarBackgroundGrid() {
     if (qq_ToolBarBackgroundGrid == null) {
       qq_ToolBarBackgroundGrid = CompoundFieldFactory.newGridField("ToolBarBackgroundGrid", false);
       setqq_ToolBarBackgroundGridProperties();
       ColourChange.setBackground(qq_ToolBarBackgroundGrid, UIutils.Gray2);
       // OPTIONAL qq_ToolBarBackgroundGrid.setSize(new Dimension(456, 38));
       // OPTIONAL qq_ToolBarBackgroundGrid.setMinimumSize(new Dimension(456, 38));
       // OPTIONAL qq_ToolBarBackgroundGrid.setPreferredSize(new Dimension(456, 38));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc.insets = new Insets(1, 2, 1, 4); // Top, Left, Bottom, Right Margin
       qq_ToolBarBackgroundGrid.add( getqq_ModeTC(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 1; // Column 2
       qq_gbc1.gridy = 0; // Row 1
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc1.insets = new Insets(1, 2, 1, 6); // Top, Left, Bottom, Right Margin
       qq_ToolBarBackgroundGrid.add( getqq_ClearTC(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 2; // Column 3
       qq_gbc2.gridy = 0; // Row 1
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc2.insets = new Insets(1, 2, 1, 6); // Top, Left, Bottom, Right Margin
       qq_ToolBarBackgroundGrid.add( getqq_SearchTC(), qq_gbc2 );

       GridBagConstraints qq_gbc3 = new GridBagConstraints();
       qq_gbc3.gridx = 3; // Column 4
       qq_gbc3.gridy = 0; // Row 1
       qq_gbc3.weightx = 0;
       qq_gbc3.weighty = 0;
       qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
       qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc3.insets = new Insets(1, 2, 1, 6); // Top, Left, Bottom, Right Margin
       qq_ToolBarBackgroundGrid.add( getqq_EditTCGrid(), qq_gbc3 );

       GridBagConstraints qq_gbc4 = new GridBagConstraints();
       qq_gbc4.gridx = 4; // Column 5
       qq_gbc4.gridy = 0; // Row 1
       qq_gbc4.weightx = 0;
       qq_gbc4.weighty = 0;
       qq_gbc4.anchor = GridBagConstraints.EAST; // Gravity - original: CG_MIDDLERIGHT
       qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
       qq_gbc4.insets = new Insets(1, 2, 1, 9); // Top, Left, Bottom, Right Margin
       qq_ToolBarBackgroundGrid.add( getqq_ScrollTCGrid(), qq_gbc4 );

     }
     return qq_ToolBarBackgroundGrid;
   }

   public void setqq_ToolBarBackgroundGrid(GridField value) {
     GridField oldValue = qq_ToolBarBackgroundGrid;
     qq_ToolBarBackgroundGrid = value;
     this.qq_Listeners.firePropertyChange("qq_ToolBarBackgroundGrid", oldValue, value);
   }

   /**
    * qq_ToolBarGrid: transformed from: qqds_GridField
    * TagId=131012
    * isInherited=FALSE
    * In forte this was a 1x1 grid field.
    * There are no cell margins set
    * The width policy is set to Parent, and the height policy is set to Natural.
    */
   protected void setqq_ToolBarGridProperties() {
     FrameWeight.set(qq_ToolBarGrid, Constants.W_DEFAULT);
     FrameColor.set(qq_ToolBarGrid, Constants.C_INHERIT);
     qq_ToolBarGrid.setCellGravity(Constants.CG_CENTER);
     qq_ToolBarGrid.setCollapsed(true);
     qq_ToolBarGrid.setHeightPolicy(Constants.SP_NATURAL);
     qq_ToolBarGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_ToolBarGrid() {
     if (qq_ToolBarGrid == null) {
       qq_ToolBarGrid = CompoundFieldFactory.newGridField("ToolBarGrid", false);
       setqq_ToolBarGridProperties();
       ColourChange.setBackground(qq_ToolBarGrid, UIutils.Black);
       // OPTIONAL qq_ToolBarGrid.setSize(new Dimension(460, 43));
       // OPTIONAL qq_ToolBarGrid.setMinimumSize(new Dimension(460, 43));
       // OPTIONAL qq_ToolBarGrid.setPreferredSize(new Dimension(460, 43));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
       qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_ToolBarGrid.add( getqq_ToolBarBackgroundGrid(), qq_gbc );

     }
     return qq_ToolBarGrid;
   }

   public void setqq_ToolBarGrid(GridField value) {
     GridField oldValue = qq_ToolBarGrid;
     qq_ToolBarGrid = value;
     this.qq_Listeners.firePropertyChange("qq_ToolBarGrid", oldValue, value);
   }

   /**
    * qq_TopGrid: transformed from: qqds_GridField
    * TagId=131070
    * isInherited=FALSE
    * In forte this was a 1x3 grid field.
    * There are no cell margins set
    * The width policy is set to Parent, and the height policy is set to Parent.
    */
   protected void setqq_TopGridProperties() {
     FrameColor.set(qq_TopGrid, Constants.C_INHERIT);
     qq_TopGrid.setCellGravity(Constants.CG_CENTER);
     qq_TopGrid.setIgnoreInvisibleChildren(true);
     qq_TopGrid.setCollapsed(true);
     qq_TopGrid.setHeightPolicy(Constants.SP_TO_PARENT);
     qq_TopGrid.setWidthPolicy(Constants.SP_TO_PARENT);
   }

   public GridField getqq_TopGrid() {
     if (qq_TopGrid == null) {
       qq_TopGrid = CompoundFieldFactory.newGridField("TopGrid", false);
       setqq_TopGridProperties();
       qq_TopGrid.setBackground(null);
       // OPTIONAL qq_TopGrid.setSize(new Dimension(460, 252));
       // OPTIONAL qq_TopGrid.setMinimumSize(new Dimension(460, 252));
       // OPTIONAL qq_TopGrid.setPreferredSize(new Dimension(460, 252));
       GridBagConstraints qq_gbc = new GridBagConstraints();
       qq_gbc.gridx = 0; // Column 1
       qq_gbc.gridy = 0; // Row 1
       qq_gbc.weightx = 0;
       qq_gbc.weighty = 0;
       qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
       qq_gbc.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_TopGrid.add( getqq_ToolBarGrid(), qq_gbc );

       GridBagConstraints qq_gbc1 = new GridBagConstraints();
       qq_gbc1.gridx = 0; // Column 1
       qq_gbc1.gridy = 1; // Row 2
       qq_gbc1.weightx = 0;
       qq_gbc1.weighty = 0;
       qq_gbc1.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
       qq_gbc1.fill = GridBagConstraints.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
       qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_TopGrid.add( getqq_ContentsGrid(), qq_gbc1 );

       GridBagConstraints qq_gbc2 = new GridBagConstraints();
       qq_gbc2.gridx = 0; // Column 1
       qq_gbc2.gridy = 2; // Row 3
       qq_gbc2.weightx = 0;
       qq_gbc2.weighty = 0;
       qq_gbc2.anchor = GridBagConstraints.SOUTHWEST; // Gravity - original: CG_BOTTOMLEFT
       qq_gbc2.fill = GridBagConstraints.HORIZONTAL; // Size to parent - original: W = SP_TO_PARENT
       qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
       qq_TopGrid.add( getqq_StatusLineGrid(), qq_gbc2 );

     }
     return qq_TopGrid;
   }

   public void setqq_TopGrid(GridField value) {
     GridField oldValue = qq_TopGrid;
     qq_TopGrid = value;
     this.qq_Listeners.firePropertyChange("qq_TopGrid", oldValue, value);
   }

   /**
    * Form: transformed from: qqds_Panel
    * TagId=1
    * isInherited=FALSE
    */
   public JPanel getForm() {
     if (Form == null) {
       super.getForm();
       Form.setLayout(new WindowFormLayout(this));
       Form.setOpaque( true );
       Form.add( getqq_TopGrid() );
     }
     return Form;
   }

   public void setForm(JPanel value) {
     JPanel oldValue = Form;
     Form = value;
     this.qq_Listeners.firePropertyChange("Form", oldValue, value);
   }

   /**
    * Gets the default message set number for the window and its widgets.
    */
   public int getSetNum() {
     return this.qq_defaultSet;
   }

   /**
    * Sets the default message set number for the window and its widgets.
    */
   public void setSetNum(int value) {
     this.qq_defaultSet = value;
   }

   /**
    * Gets the message set number for the message number of the window's title.
    */
   public int getTitleSetNum() {
     return this.qq_msgSet;
   }

   /**
    * Sets the message set number for the message number of the window's title.
    */
   public void setTitleSetNum(int value) {
     this.qq_msgSet = value;
   }

   /**
    * Gets the message number for the message number of the window's title.
    */
   public int getTitleMsgNum() {
     return this.qq_msgNumber;
   }

   /**
    * Sets the message number for the message number of the window's title.
    */
   public void setTitleMsgNum(int value) {
     this.qq_msgNumber = value;
   }



   /**
    * Initialise the window and all its children.
    */
   private void initialize() {
     this.qq_setupWindowUsage();
     this.setName( "ExpressContainerWindow" );
     this.setTitle( "Part Window" );
     this.setSystemClosePolicy(Constants.SC_ENABLEDSHUTDOWN);
     this.setJMenuBar( getqq_MenuBar() );
     if (this.getContentPane() != this.getForm()) {
       this.setContentPane(getForm());
     }
     this.setResizable( true );
     this.setAlwaysOnTop(false);
     UserWindow.setIconizeEnabled(this, true);
     UserWindow.setMaximizeEnabled(this, true);
     WindowManager.addWindowListener(this);
     this.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
     this.setUsage(DisplayProject.Constants.WU_UPDATE);
     UIutils.processGUIActions();
     this.pack();
     this.setInitialX(0);
     this.setInitialY(0);
     this.setInitialPositionPolicy(Constants.PP_SYSTEMDEFAULT);
   }


   // ----------------
   //  Window usage
   //-----------------
   public void qq_setupWindowUsage() {
     this.usage.add(getqq_PreferencesMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_PreferencesSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_RevertMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_RevertSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_PrintMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_PrintSetupMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_PrintSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_SaveMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_SaveSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_CancelMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_CancelSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_CloseMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_CloseSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ExitAllMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_fileMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_EditCutMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_EditCopyMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_EditPasteMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_EditDeleteMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_EditSelectallMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_editMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ModeMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ModeSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ClearMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ClearSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_InsertMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_DeleteMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ScrollToSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_FirstMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_LastMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ScrollSP(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_PrevMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_NextMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_ScrollMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_SearchMC(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_resultSetMenu(), Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED, Constants.MS_ENABLED);
     this.usage.add(getqq_TopGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_ContentsGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_TopContentsGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_DataGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_DummyGraphic(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_SideBCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_InsertBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_DeleteBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_ButtonGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_OKBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_SearchBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_CancelBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_ClearBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_ScrollBCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_IndexesBCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_DISABLED, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_IndexBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_OfBC(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_MaxIndexBC(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_FirstBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_PrevBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_NextBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_LastBC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_NestedGrid(), Constants.FS_INVISIBLE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_FolderPanel(), Constants.FS_INVISIBLE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_StatusLineGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_StatusText(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_ToolBarGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_ToolBarBackgroundGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_SearchTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_ModeTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_ScrollTCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_IndexesTCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_IndexTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_DISABLED, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_OfTC(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_DISABLED, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_MaxIndexTC(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_DISABLED, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_FirstTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_PrevTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_NextTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_LastTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_EditTCGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
     this.usage.add(getqq_SaveTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_InsertTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_DeleteTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
     this.usage.add(getqq_ClearTC(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
   }
   // </editor-fold>

   // -----------
   // Main method
   // -----------
   public static void main(String []args) {
     KeyboardFocusManager.setCurrentKeyboardFocusManager(new ForteKeyboardFocusManager());
     try {
       UIManager.setLookAndFeel(new Win32LookAndFeel());
     }
     catch (Exception e) {}
     ToolTipManager.sharedInstance().setDismissDelay(Integer.MAX_VALUE);
     ExpressContainerWindow myClass = new ExpressContainerWindow();
     myClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     myClass.setVisible(true);
     UIutils.processGUIActions();
   }
// end class ExpressContainerWindow
// c Pass 2 Conversion Time: 4469 milliseconds
TOP

Related Classes of Express.windows.ExpressContainerWindow

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.