Package Colours

Source Code of Colours.Main

package Colours;

import DisplayProject.CloseHideAdaptor;
import DisplayProject.Constants;
import DisplayProject.CursorMgr;
import DisplayProject.DataField;
import DisplayProject.DropListModel;
import DisplayProject.GridField;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowManager;
import DisplayProject.WindowUsageMap;
import DisplayProject.actions.AppletConnectionInfo;
import DisplayProject.actions.ColourChange;
import DisplayProject.actions.ExitOnTab;
import DisplayProject.actions.HeightPolicy;
import DisplayProject.actions.LineNumbers;
import DisplayProject.actions.StatusText;
import DisplayProject.actions.UserWindow;
import DisplayProject.actions.WidthPolicy;
import DisplayProject.binding.BindingManager;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import DisplayProject.controls.DropList;
import DisplayProject.controls.FillInField;
import DisplayProject.controls.MultiLineTextField;
import DisplayProject.controls.PictureGraphic;
import DisplayProject.controls.Rectangle;
import DisplayProject.events.ClientEventManager;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.DataFieldFactory;
import DisplayProject.factory.DropFillinFactory;
import DisplayProject.factory.GraphicFactory;
import DisplayProject.factory.TextEditFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import Framework.Array_Of_ListElement;
import Framework.ErrorMgr;
import Framework.EventHandle;
import Framework.EventManager;
import Framework.EventRegistration;
import Framework.File;
import Framework.ForteKeyboardFocusManager;
import Framework.FrameworkUtils;
import Framework.ImageData;
import Framework.ListElement;
import Framework.RuntimeProperties;
import Framework.TextData;
import Framework.UsageException;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.KeyboardFocusManager;
import java.awt.Window;
import java.awt.event.ComponentListener;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;
import java.net.MalformedURLException;
import java.net.URL;
import javax.help.CSH;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.UIManager;

/**
* Main<p>
* <p>
* @author Generated from Forte
* @since  19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@UDSWindow()
@SuppressWarnings("serial")
public class Main
        extends JFrame
        implements Serializable, Observable
{

    // ----------
    // Attributes
    // ----------
    protected File DefaultHelpFile;
    protected BindingManager bindingManager = null;
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private int colorFeature;
    private TextData aDataField;
    private TextData aTextField;
    private TextData aTextEditField;
    private int aDropList;
    private TextData aFillinFIeld;

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

    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public File getDefaultHelpFile() {
        return DefaultHelpFile;
    }

    public void setDefaultHelpFile(File defaultHelpFile) {
        DefaultHelpFile = defaultHelpFile;
        UserWindow.createHelp(this, defaultHelpFile);
    }

    public void setHelpURL(String urlString) {
        try {
            URL url = new URL(urlString);
            UserWindow.createHelp(this, url);
        } catch (MalformedURLException e) {
            UsageException err = new UsageException("Cannot create help URL", e);
            ErrorMgr.addError(err);
            throw err;
        }
    }

    protected BindingManager getBindingManager() {
        if (this.bindingManager == null) {
            this.bindingManager = new BindingManager(this);
        }
        return bindingManager;
    }

    public void setColorFeature(int colorFeature) {
        int oldValue = this.colorFeature;
        this.colorFeature = colorFeature;
        this.qq_Listeners.firePropertyChange("colorFeature", oldValue, this.colorFeature);
    }

    public int getColorFeature() {
        return this.colorFeature;
    }

    public void setADataField(TextData aDataField) {
        TextData oldValue = this.aDataField;
        this.aDataField = aDataField;
        this.qq_Listeners.firePropertyChange("ADataField", oldValue, this.aDataField);
    }

    public TextData getADataField() {
        return this.aDataField;
    }

    public void setATextField(TextData aTextField) {
        TextData oldValue = this.aTextField;
        this.aTextField = aTextField;
        this.qq_Listeners.firePropertyChange("ATextField", oldValue, this.aTextField);
    }

    public TextData getATextField() {
        return this.aTextField;
    }

    public void setATextEditField(TextData aTextEditField) {
        TextData oldValue = this.aTextEditField;
        this.aTextEditField = aTextEditField;
        this.qq_Listeners.firePropertyChange("ATextEditField", oldValue, this.aTextEditField);
    }

    public TextData getATextEditField() {
        return this.aTextEditField;
    }

    public void setADropList(int aDropList) {
        int oldValue = this.aDropList;
        this.aDropList = aDropList;
        this.qq_Listeners.firePropertyChange("ADropList", oldValue, this.aDropList);
    }

    public int getADropList() {
        return this.aDropList;
    }

    public void setAFillinFIeld(TextData aFillinFIeld) {
        TextData oldValue = this.aFillinFIeld;
        this.aFillinFIeld = aFillinFIeld;
        this.qq_Listeners.firePropertyChange("AFillinFIeld", oldValue, this.aFillinFIeld);
    }

    public TextData getAFillinFIeld() {
        return this.aFillinFIeld;
    }

    // -------
    // Methods
    // -------
    public void addPropertyChangeListener(String property, PropertyChangeListener listener) {
        qq_Listeners.addPropertyChangeListener(property, listener);
    }

    public void addPropertyChangeListener(PropertyChangeListener listener) {
        qq_Listeners.addPropertyChangeListener(listener);
    }

    public void removePropertyChangeListener(String property, PropertyChangeListener listener) {
        qq_Listeners.removePropertyChangeListener(property, listener);
    }

    public void removePropertyChangeListener(PropertyChangeListener listener) {
        qq_Listeners.removePropertyChangeListener(listener);
    }

    /**
     * display<p>
     * Init of window<br>
     * <p>
     */
    public void display() {
        UserWindow.open(this);
        // ----------
        // Event Loop
        // ----------
        EventManager.startEventLoop();
        try {
            EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );

            while (true) {

                UIutils.processGUIActions();
                EventHandle qq_currentEvent = EventManager.waitForEvent();
                if (qq_currentEvent == null)
                    break;

                // -------------
                // task.Shutdown
                // -------------
                if (qq_currentEvent.isEvent(TaskHandle_Shutdown_langThreadcurrentThread)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        break;
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }
            }
            EventManager.deregister( TaskHandle_Shutdown_langThreadcurrentThread );
        }
        //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);
        }
    }

    // ------------------
    // Window Definitions
    // ------------------
    // <editor-fold defaultstate="collapsed" desc="Window Definitions">
    private int qq_defaultSet = 1;
    private int qq_msgNumber = 0;
    private int qq_msgSet = 0;
    protected Window primaryWindow = null;
    protected int initialX;
    protected int initialY;
    protected int qq_SystemClosePolicy = Constants.SC_ENABLEDSHUTDOWN;
    protected int qq_initialPositionPolicy = Constants.PP_SYSTEMDEFAULT;
    public DataField qq_aDataField;
    public DropList qq_ColorFeature;
    public DropList qq_aDropList;
    public FillInField qq_aFillinFIeld;
    public GridField qq_ColorGF;
    public GridField qq_ColorPaletteGF;
    public JPanel Form;
    public JScrollPane qq_aTextEditField_sp;
    public JScrollPane qq_aTextField_sp;
    public MultiLineTextField qq_aTextEditField;
    public MultiLineTextField qq_aTextField;
    public PictureGraphic qq_InheritedColourR;
    public Rectangle qq_BlackColourR;
    public Rectangle qq_BlueColourR;
    public Rectangle qq_BrightBlueColourR;
    public Rectangle qq_BrightBrownColourR;
    public Rectangle qq_BrightCyanColourR;
    public Rectangle qq_BrightGreenColourR;
    public Rectangle qq_BrightMagentaColourR;
    public Rectangle qq_BrightRedColourR;
    public Rectangle qq_BrightYellowColourR;
    public Rectangle qq_BrownColourR;
    public Rectangle qq_CyanColourR;
    public Rectangle qq_Gray1ColourR;
    public Rectangle qq_Gray2ColourR;
    public Rectangle qq_Gray3ColourR;
    public Rectangle qq_Gray4ColourR;
    public Rectangle qq_Gray5ColourR;
    public Rectangle qq_Gray6ColourR;
    public Rectangle qq_Gray7ColourR;
    public Rectangle qq_GreenColourR;
    public Rectangle qq_MagentaColourR;
    public Rectangle qq_PaleBlueColourR;
    public Rectangle qq_PaleBrownColourR;
    public Rectangle qq_PaleCyanColourR;
    public Rectangle qq_PaleGreenColourR;
    public Rectangle qq_PaleMagentaColourR;
    public Rectangle qq_PaleRedColourR;
    public Rectangle qq_PaleYellowColourR;
    public Rectangle qq_RedColourR;
    public Rectangle qq_WhiteColourR;
    public Rectangle qq_YellowColourR;

    /**
     * qq_aDataField: transformed from: qqds_DataField
     * TagId=46
     * isInherited=FALSE
     */
    public DataField getqq_aDataField() {
        if (qq_aDataField == null) {
            // Mask type: MK_NONE
            qq_aDataField = DataFieldFactory.newDataField("aDataField", 14, TextData.class, Constants.MK_NONE);
            qq_aDataField.setValue("");
            qq_aDataField.setOriginalFormatText(null);
            qq_aDataField.setHorizontalAlignment(JTextField.LEFT);
            getBindingManager().bindComponent(qq_aDataField, "ADataField");
            WidthPolicy.set(qq_aDataField, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_aDataField, Constants.SP_NATURAL);
            qq_aDataField.setMinimumSize(new Dimension(98, 19));
            qq_aDataField.setSize(new Dimension(98, 19));
            qq_aDataField.setLocation(18, 57);
        }
        return qq_aDataField;
    }

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

    /**
     * qq_PaleRedColourR: transformed from: qqds_Rectangle
     * TagId=14
     * isInherited=FALSE
     */
    public Rectangle getqq_PaleRedColourR() {
        if (qq_PaleRedColourR == null) {
            qq_PaleRedColourR = new Rectangle();
            qq_PaleRedColourR.setName("PaleRedColourR");
            qq_PaleRedColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_PaleRedColourR.setOpaque(true);
            ColourChange.setBackground(qq_PaleRedColourR, Constants.C_PALERED);
            ColourChange.setForeground(qq_PaleRedColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_PaleRedColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_PaleRedColourR, Constants.SP_EXPLICIT);
            qq_PaleRedColourR.setSize(new Dimension(14, 17));
            qq_PaleRedColourR.setMinimumSize(new Dimension(14, 17));
            qq_PaleRedColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_PaleRedColourR;
    }

    public void setqq_PaleRedColourR(Rectangle value) {
        Rectangle oldValue = qq_PaleRedColourR;
        qq_PaleRedColourR = value;
        this.qq_Listeners.firePropertyChange("qq_PaleRedColourR", oldValue, value);
    }

    /**
     * qq_RedColourR: transformed from: qqds_Rectangle
     * TagId=15
     * isInherited=FALSE
     */
    public Rectangle getqq_RedColourR() {
        if (qq_RedColourR == null) {
            qq_RedColourR = new Rectangle();
            qq_RedColourR.setName("RedColourR");
            qq_RedColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_RedColourR.setOpaque(true);
            ColourChange.setBackground(qq_RedColourR, Constants.C_PALEYELLOW);
            ColourChange.setForeground(qq_RedColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_RedColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_RedColourR, Constants.SP_EXPLICIT);
            qq_RedColourR.setSize(new Dimension(14, 17));
            qq_RedColourR.setMinimumSize(new Dimension(14, 17));
            qq_RedColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_RedColourR;
    }

    public void setqq_RedColourR(Rectangle value) {
        Rectangle oldValue = qq_RedColourR;
        qq_RedColourR = value;
        this.qq_Listeners.firePropertyChange("qq_RedColourR", oldValue, value);
    }

    /**
     * qq_BrightRedColourR: transformed from: qqds_Rectangle
     * TagId=16
     * isInherited=FALSE
     */
    public Rectangle getqq_BrightRedColourR() {
        if (qq_BrightRedColourR == null) {
            qq_BrightRedColourR = new Rectangle();
            qq_BrightRedColourR.setName("BrightRedColourR");
            qq_BrightRedColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrightRedColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrightRedColourR, Constants.C_BRIGHTRED);
            ColourChange.setForeground(qq_BrightRedColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrightRedColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrightRedColourR, Constants.SP_EXPLICIT);
            qq_BrightRedColourR.setSize(new Dimension(14, 17));
            qq_BrightRedColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrightRedColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrightRedColourR;
    }

    public void setqq_BrightRedColourR(Rectangle value) {
        Rectangle oldValue = qq_BrightRedColourR;
        qq_BrightRedColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrightRedColourR", oldValue, value);
    }

    /**
     * qq_PaleBlueColourR: transformed from: qqds_Rectangle
     * TagId=17
     * isInherited=FALSE
     */
    public Rectangle getqq_PaleBlueColourR() {
        if (qq_PaleBlueColourR == null) {
            qq_PaleBlueColourR = new Rectangle();
            qq_PaleBlueColourR.setName("PaleBlueColourR");
            qq_PaleBlueColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_PaleBlueColourR.setOpaque(true);
            ColourChange.setBackground(qq_PaleBlueColourR, Constants.C_PALEBLUE);
            ColourChange.setForeground(qq_PaleBlueColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_PaleBlueColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_PaleBlueColourR, Constants.SP_EXPLICIT);
            qq_PaleBlueColourR.setSize(new Dimension(14, 17));
            qq_PaleBlueColourR.setMinimumSize(new Dimension(14, 17));
            qq_PaleBlueColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_PaleBlueColourR;
    }

    public void setqq_PaleBlueColourR(Rectangle value) {
        Rectangle oldValue = qq_PaleBlueColourR;
        qq_PaleBlueColourR = value;
        this.qq_Listeners.firePropertyChange("qq_PaleBlueColourR", oldValue, value);
    }

    /**
     * qq_BlueColourR: transformed from: qqds_Rectangle
     * TagId=18
     * isInherited=FALSE
     */
    public Rectangle getqq_BlueColourR() {
        if (qq_BlueColourR == null) {
            qq_BlueColourR = new Rectangle();
            qq_BlueColourR.setName("BlueColourR");
            qq_BlueColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BlueColourR.setOpaque(true);
            ColourChange.setBackground(qq_BlueColourR, Constants.C_BLUE);
            ColourChange.setForeground(qq_BlueColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BlueColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BlueColourR, Constants.SP_EXPLICIT);
            qq_BlueColourR.setSize(new Dimension(14, 17));
            qq_BlueColourR.setMinimumSize(new Dimension(14, 17));
            qq_BlueColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BlueColourR;
    }

    public void setqq_BlueColourR(Rectangle value) {
        Rectangle oldValue = qq_BlueColourR;
        qq_BlueColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BlueColourR", oldValue, value);
    }

    /**
     * qq_BrightBlueColourR: transformed from: qqds_Rectangle
     * TagId=19
     * isInherited=FALSE
     */
    public Rectangle getqq_BrightBlueColourR() {
        if (qq_BrightBlueColourR == null) {
            qq_BrightBlueColourR = new Rectangle();
            qq_BrightBlueColourR.setName("BrightBlueColourR");
            qq_BrightBlueColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrightBlueColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrightBlueColourR, Constants.C_BRIGHTBLUE);
            ColourChange.setForeground(qq_BrightBlueColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrightBlueColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrightBlueColourR, Constants.SP_EXPLICIT);
            qq_BrightBlueColourR.setSize(new Dimension(14, 17));
            qq_BrightBlueColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrightBlueColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrightBlueColourR;
    }

    public void setqq_BrightBlueColourR(Rectangle value) {
        Rectangle oldValue = qq_BrightBlueColourR;
        qq_BrightBlueColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrightBlueColourR", oldValue, value);
    }

    /**
     * qq_PaleGreenColourR: transformed from: qqds_Rectangle
     * TagId=20
     * isInherited=FALSE
     */
    public Rectangle getqq_PaleGreenColourR() {
        if (qq_PaleGreenColourR == null) {
            qq_PaleGreenColourR = new Rectangle();
            qq_PaleGreenColourR.setName("PaleGreenColourR");
            qq_PaleGreenColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_PaleGreenColourR.setOpaque(true);
            ColourChange.setBackground(qq_PaleGreenColourR, Constants.C_PALEGREEN);
            ColourChange.setForeground(qq_PaleGreenColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_PaleGreenColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_PaleGreenColourR, Constants.SP_EXPLICIT);
            qq_PaleGreenColourR.setSize(new Dimension(14, 17));
            qq_PaleGreenColourR.setMinimumSize(new Dimension(14, 17));
            qq_PaleGreenColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_PaleGreenColourR;
    }

    public void setqq_PaleGreenColourR(Rectangle value) {
        Rectangle oldValue = qq_PaleGreenColourR;
        qq_PaleGreenColourR = value;
        this.qq_Listeners.firePropertyChange("qq_PaleGreenColourR", oldValue, value);
    }

    /**
     * qq_GreenColourR: transformed from: qqds_Rectangle
     * TagId=21
     * isInherited=FALSE
     */
    public Rectangle getqq_GreenColourR() {
        if (qq_GreenColourR == null) {
            qq_GreenColourR = new Rectangle();
            qq_GreenColourR.setName("GreenColourR");
            qq_GreenColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_GreenColourR.setOpaque(true);
            ColourChange.setBackground(qq_GreenColourR, Constants.C_GREEN);
            ColourChange.setForeground(qq_GreenColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_GreenColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_GreenColourR, Constants.SP_EXPLICIT);
            qq_GreenColourR.setSize(new Dimension(14, 17));
            qq_GreenColourR.setMinimumSize(new Dimension(14, 17));
            qq_GreenColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_GreenColourR;
    }

    public void setqq_GreenColourR(Rectangle value) {
        Rectangle oldValue = qq_GreenColourR;
        qq_GreenColourR = value;
        this.qq_Listeners.firePropertyChange("qq_GreenColourR", oldValue, value);
    }

    /**
     * qq_BrightGreenColourR: transformed from: qqds_Rectangle
     * TagId=22
     * isInherited=FALSE
     */
    public Rectangle getqq_BrightGreenColourR() {
        if (qq_BrightGreenColourR == null) {
            qq_BrightGreenColourR = new Rectangle();
            qq_BrightGreenColourR.setName("BrightGreenColourR");
            qq_BrightGreenColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrightGreenColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrightGreenColourR, Constants.C_BRIGHTGREEN);
            ColourChange.setForeground(qq_BrightGreenColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrightGreenColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrightGreenColourR, Constants.SP_EXPLICIT);
            qq_BrightGreenColourR.setSize(new Dimension(14, 17));
            qq_BrightGreenColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrightGreenColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrightGreenColourR;
    }

    public void setqq_BrightGreenColourR(Rectangle value) {
        Rectangle oldValue = qq_BrightGreenColourR;
        qq_BrightGreenColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrightGreenColourR", oldValue, value);
    }

    /**
     * qq_PaleCyanColourR: transformed from: qqds_Rectangle
     * TagId=23
     * isInherited=FALSE
     */
    public Rectangle getqq_PaleCyanColourR() {
        if (qq_PaleCyanColourR == null) {
            qq_PaleCyanColourR = new Rectangle();
            qq_PaleCyanColourR.setName("PaleCyanColourR");
            qq_PaleCyanColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_PaleCyanColourR.setOpaque(true);
            ColourChange.setBackground(qq_PaleCyanColourR, Constants.C_PALECYAN);
            ColourChange.setForeground(qq_PaleCyanColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_PaleCyanColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_PaleCyanColourR, Constants.SP_EXPLICIT);
            qq_PaleCyanColourR.setSize(new Dimension(14, 17));
            qq_PaleCyanColourR.setMinimumSize(new Dimension(14, 17));
            qq_PaleCyanColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_PaleCyanColourR;
    }

    public void setqq_PaleCyanColourR(Rectangle value) {
        Rectangle oldValue = qq_PaleCyanColourR;
        qq_PaleCyanColourR = value;
        this.qq_Listeners.firePropertyChange("qq_PaleCyanColourR", oldValue, value);
    }

    /**
     * qq_CyanColourR: transformed from: qqds_Rectangle
     * TagId=24
     * isInherited=FALSE
     */
    public Rectangle getqq_CyanColourR() {
        if (qq_CyanColourR == null) {
            qq_CyanColourR = new Rectangle();
            qq_CyanColourR.setName("CyanColourR");
            qq_CyanColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_CyanColourR.setOpaque(true);
            ColourChange.setBackground(qq_CyanColourR, Constants.C_CYAN);
            ColourChange.setForeground(qq_CyanColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_CyanColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_CyanColourR, Constants.SP_EXPLICIT);
            qq_CyanColourR.setSize(new Dimension(14, 17));
            qq_CyanColourR.setMinimumSize(new Dimension(14, 17));
            qq_CyanColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_CyanColourR;
    }

    public void setqq_CyanColourR(Rectangle value) {
        Rectangle oldValue = qq_CyanColourR;
        qq_CyanColourR = value;
        this.qq_Listeners.firePropertyChange("qq_CyanColourR", oldValue, value);
    }

    /**
     * qq_BrightCyanColourR: transformed from: qqds_Rectangle
     * TagId=25
     * isInherited=FALSE
     */
    public Rectangle getqq_BrightCyanColourR() {
        if (qq_BrightCyanColourR == null) {
            qq_BrightCyanColourR = new Rectangle();
            qq_BrightCyanColourR.setName("BrightCyanColourR");
            qq_BrightCyanColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrightCyanColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrightCyanColourR, Constants.C_BRIGHTCYAN);
            ColourChange.setForeground(qq_BrightCyanColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrightCyanColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrightCyanColourR, Constants.SP_EXPLICIT);
            qq_BrightCyanColourR.setSize(new Dimension(14, 17));
            qq_BrightCyanColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrightCyanColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrightCyanColourR;
    }

    public void setqq_BrightCyanColourR(Rectangle value) {
        Rectangle oldValue = qq_BrightCyanColourR;
        qq_BrightCyanColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrightCyanColourR", oldValue, value);
    }

    /**
     * qq_PaleYellowColourR: transformed from: qqds_Rectangle
     * TagId=26
     * isInherited=FALSE
     */
    public Rectangle getqq_PaleYellowColourR() {
        if (qq_PaleYellowColourR == null) {
            qq_PaleYellowColourR = new Rectangle();
            qq_PaleYellowColourR.setName("PaleYellowColourR");
            qq_PaleYellowColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_PaleYellowColourR.setOpaque(true);
            ColourChange.setBackground(qq_PaleYellowColourR, Constants.C_PALEYELLOW);
            ColourChange.setForeground(qq_PaleYellowColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_PaleYellowColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_PaleYellowColourR, Constants.SP_EXPLICIT);
            qq_PaleYellowColourR.setSize(new Dimension(14, 17));
            qq_PaleYellowColourR.setMinimumSize(new Dimension(14, 17));
            qq_PaleYellowColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_PaleYellowColourR;
    }

    public void setqq_PaleYellowColourR(Rectangle value) {
        Rectangle oldValue = qq_PaleYellowColourR;
        qq_PaleYellowColourR = value;
        this.qq_Listeners.firePropertyChange("qq_PaleYellowColourR", oldValue, value);
    }

    /**
     * qq_YellowColourR: transformed from: qqds_Rectangle
     * TagId=27
     * isInherited=FALSE
     */
    public Rectangle getqq_YellowColourR() {
        if (qq_YellowColourR == null) {
            qq_YellowColourR = new Rectangle();
            qq_YellowColourR.setName("YellowColourR");
            qq_YellowColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_YellowColourR.setOpaque(true);
            ColourChange.setBackground(qq_YellowColourR, Constants.C_YELLOW);
            ColourChange.setForeground(qq_YellowColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_YellowColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_YellowColourR, Constants.SP_EXPLICIT);
            qq_YellowColourR.setSize(new Dimension(14, 17));
            qq_YellowColourR.setMinimumSize(new Dimension(14, 17));
            qq_YellowColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_YellowColourR;
    }

    public void setqq_YellowColourR(Rectangle value) {
        Rectangle oldValue = qq_YellowColourR;
        qq_YellowColourR = value;
        this.qq_Listeners.firePropertyChange("qq_YellowColourR", oldValue, value);
    }

    /**
     * qq_BrightYellowColourR: transformed from: qqds_Rectangle
     * TagId=28
     * isInherited=FALSE
     */
    public Rectangle getqq_BrightYellowColourR() {
        if (qq_BrightYellowColourR == null) {
            qq_BrightYellowColourR = new Rectangle();
            qq_BrightYellowColourR.setName("BrightYellowColourR");
            qq_BrightYellowColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrightYellowColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrightYellowColourR, Constants.C_BRIGHTYELLOW);
            ColourChange.setForeground(qq_BrightYellowColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrightYellowColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrightYellowColourR, Constants.SP_EXPLICIT);
            qq_BrightYellowColourR.setSize(new Dimension(14, 17));
            qq_BrightYellowColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrightYellowColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrightYellowColourR;
    }

    public void setqq_BrightYellowColourR(Rectangle value) {
        Rectangle oldValue = qq_BrightYellowColourR;
        qq_BrightYellowColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrightYellowColourR", oldValue, value);
    }

    /**
     * qq_PaleMagentaColourR: transformed from: qqds_Rectangle
     * TagId=29
     * isInherited=FALSE
     */
    public Rectangle getqq_PaleMagentaColourR() {
        if (qq_PaleMagentaColourR == null) {
            qq_PaleMagentaColourR = new Rectangle();
            qq_PaleMagentaColourR.setName("PaleMagentaColourR");
            qq_PaleMagentaColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_PaleMagentaColourR.setOpaque(true);
            ColourChange.setBackground(qq_PaleMagentaColourR, Constants.C_PALEMAGENTA);
            ColourChange.setForeground(qq_PaleMagentaColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_PaleMagentaColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_PaleMagentaColourR, Constants.SP_EXPLICIT);
            qq_PaleMagentaColourR.setSize(new Dimension(14, 17));
            qq_PaleMagentaColourR.setMinimumSize(new Dimension(14, 17));
            qq_PaleMagentaColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_PaleMagentaColourR;
    }

    public void setqq_PaleMagentaColourR(Rectangle value) {
        Rectangle oldValue = qq_PaleMagentaColourR;
        qq_PaleMagentaColourR = value;
        this.qq_Listeners.firePropertyChange("qq_PaleMagentaColourR", oldValue, value);
    }

    /**
     * qq_MagentaColourR: transformed from: qqds_Rectangle
     * TagId=30
     * isInherited=FALSE
     */
    public Rectangle getqq_MagentaColourR() {
        if (qq_MagentaColourR == null) {
            qq_MagentaColourR = new Rectangle();
            qq_MagentaColourR.setName("MagentaColourR");
            qq_MagentaColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_MagentaColourR.setOpaque(true);
            ColourChange.setBackground(qq_MagentaColourR, Constants.C_MAGENTA);
            ColourChange.setForeground(qq_MagentaColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_MagentaColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_MagentaColourR, Constants.SP_EXPLICIT);
            qq_MagentaColourR.setSize(new Dimension(14, 17));
            qq_MagentaColourR.setMinimumSize(new Dimension(14, 17));
            qq_MagentaColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_MagentaColourR;
    }

    public void setqq_MagentaColourR(Rectangle value) {
        Rectangle oldValue = qq_MagentaColourR;
        qq_MagentaColourR = value;
        this.qq_Listeners.firePropertyChange("qq_MagentaColourR", oldValue, value);
    }

    /**
     * qq_BrightMagentaColourR: transformed from: qqds_Rectangle
     * TagId=31
     * isInherited=FALSE
     */
    public Rectangle getqq_BrightMagentaColourR() {
        if (qq_BrightMagentaColourR == null) {
            qq_BrightMagentaColourR = new Rectangle();
            qq_BrightMagentaColourR.setName("BrightMagentaColourR");
            qq_BrightMagentaColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrightMagentaColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrightMagentaColourR, Constants.C_BRIGHTMAGENTA);
            ColourChange.setForeground(qq_BrightMagentaColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrightMagentaColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrightMagentaColourR, Constants.SP_EXPLICIT);
            qq_BrightMagentaColourR.setSize(new Dimension(14, 17));
            qq_BrightMagentaColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrightMagentaColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrightMagentaColourR;
    }

    public void setqq_BrightMagentaColourR(Rectangle value) {
        Rectangle oldValue = qq_BrightMagentaColourR;
        qq_BrightMagentaColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrightMagentaColourR", oldValue, value);
    }

    /**
     * qq_PaleBrownColourR: transformed from: qqds_Rectangle
     * TagId=32
     * isInherited=FALSE
     */
    public Rectangle getqq_PaleBrownColourR() {
        if (qq_PaleBrownColourR == null) {
            qq_PaleBrownColourR = new Rectangle();
            qq_PaleBrownColourR.setName("PaleBrownColourR");
            qq_PaleBrownColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_PaleBrownColourR.setOpaque(true);
            ColourChange.setBackground(qq_PaleBrownColourR, Constants.C_PALEBROWN);
            ColourChange.setForeground(qq_PaleBrownColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_PaleBrownColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_PaleBrownColourR, Constants.SP_EXPLICIT);
            qq_PaleBrownColourR.setSize(new Dimension(14, 17));
            qq_PaleBrownColourR.setMinimumSize(new Dimension(14, 17));
            qq_PaleBrownColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_PaleBrownColourR;
    }

    public void setqq_PaleBrownColourR(Rectangle value) {
        Rectangle oldValue = qq_PaleBrownColourR;
        qq_PaleBrownColourR = value;
        this.qq_Listeners.firePropertyChange("qq_PaleBrownColourR", oldValue, value);
    }

    /**
     * qq_BrownColourR: transformed from: qqds_Rectangle
     * TagId=33
     * isInherited=FALSE
     */
    public Rectangle getqq_BrownColourR() {
        if (qq_BrownColourR == null) {
            qq_BrownColourR = new Rectangle();
            qq_BrownColourR.setName("BrownColourR");
            qq_BrownColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrownColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrownColourR, Constants.C_BROWN);
            ColourChange.setForeground(qq_BrownColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrownColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrownColourR, Constants.SP_EXPLICIT);
            qq_BrownColourR.setSize(new Dimension(14, 17));
            qq_BrownColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrownColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrownColourR;
    }

    public void setqq_BrownColourR(Rectangle value) {
        Rectangle oldValue = qq_BrownColourR;
        qq_BrownColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrownColourR", oldValue, value);
    }

    /**
     * qq_BrightBrownColourR: transformed from: qqds_Rectangle
     * TagId=34
     * isInherited=FALSE
     */
    public Rectangle getqq_BrightBrownColourR() {
        if (qq_BrightBrownColourR == null) {
            qq_BrightBrownColourR = new Rectangle();
            qq_BrightBrownColourR.setName("BrightBrownColourR");
            qq_BrightBrownColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BrightBrownColourR.setOpaque(true);
            ColourChange.setBackground(qq_BrightBrownColourR, Constants.C_BRIGHTBROWN);
            ColourChange.setForeground(qq_BrightBrownColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BrightBrownColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BrightBrownColourR, Constants.SP_EXPLICIT);
            qq_BrightBrownColourR.setSize(new Dimension(14, 17));
            qq_BrightBrownColourR.setMinimumSize(new Dimension(14, 17));
            qq_BrightBrownColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BrightBrownColourR;
    }

    public void setqq_BrightBrownColourR(Rectangle value) {
        Rectangle oldValue = qq_BrightBrownColourR;
        qq_BrightBrownColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BrightBrownColourR", oldValue, value);
    }

    /**
     * qq_Gray1ColourR: transformed from: qqds_Rectangle
     * TagId=35
     * isInherited=FALSE
     */
    public Rectangle getqq_Gray1ColourR() {
        if (qq_Gray1ColourR == null) {
            qq_Gray1ColourR = new Rectangle();
            qq_Gray1ColourR.setName("Gray1ColourR");
            qq_Gray1ColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_Gray1ColourR.setOpaque(true);
            ColourChange.setBackground(qq_Gray1ColourR, Constants.C_GRAY1);
            ColourChange.setForeground(qq_Gray1ColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_Gray1ColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Gray1ColourR, Constants.SP_EXPLICIT);
            qq_Gray1ColourR.setSize(new Dimension(14, 17));
            qq_Gray1ColourR.setMinimumSize(new Dimension(14, 17));
            qq_Gray1ColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_Gray1ColourR;
    }

    public void setqq_Gray1ColourR(Rectangle value) {
        Rectangle oldValue = qq_Gray1ColourR;
        qq_Gray1ColourR = value;
        this.qq_Listeners.firePropertyChange("qq_Gray1ColourR", oldValue, value);
    }

    /**
     * qq_Gray2ColourR: transformed from: qqds_Rectangle
     * TagId=36
     * isInherited=FALSE
     */
    public Rectangle getqq_Gray2ColourR() {
        if (qq_Gray2ColourR == null) {
            qq_Gray2ColourR = new Rectangle();
            qq_Gray2ColourR.setName("Gray2ColourR");
            qq_Gray2ColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_Gray2ColourR.setOpaque(true);
            ColourChange.setBackground(qq_Gray2ColourR, Constants.C_GRAY2);
            ColourChange.setForeground(qq_Gray2ColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_Gray2ColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Gray2ColourR, Constants.SP_EXPLICIT);
            qq_Gray2ColourR.setSize(new Dimension(14, 17));
            qq_Gray2ColourR.setMinimumSize(new Dimension(14, 17));
            qq_Gray2ColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_Gray2ColourR;
    }

    public void setqq_Gray2ColourR(Rectangle value) {
        Rectangle oldValue = qq_Gray2ColourR;
        qq_Gray2ColourR = value;
        this.qq_Listeners.firePropertyChange("qq_Gray2ColourR", oldValue, value);
    }

    /**
     * qq_Gray3ColourR: transformed from: qqds_Rectangle
     * TagId=37
     * isInherited=FALSE
     */
    public Rectangle getqq_Gray3ColourR() {
        if (qq_Gray3ColourR == null) {
            qq_Gray3ColourR = new Rectangle();
            qq_Gray3ColourR.setName("Gray3ColourR");
            qq_Gray3ColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_Gray3ColourR.setOpaque(true);
            ColourChange.setBackground(qq_Gray3ColourR, Constants.C_GRAY3);
            ColourChange.setForeground(qq_Gray3ColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_Gray3ColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Gray3ColourR, Constants.SP_EXPLICIT);
            qq_Gray3ColourR.setSize(new Dimension(14, 17));
            qq_Gray3ColourR.setMinimumSize(new Dimension(14, 17));
            qq_Gray3ColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_Gray3ColourR;
    }

    public void setqq_Gray3ColourR(Rectangle value) {
        Rectangle oldValue = qq_Gray3ColourR;
        qq_Gray3ColourR = value;
        this.qq_Listeners.firePropertyChange("qq_Gray3ColourR", oldValue, value);
    }

    /**
     * qq_Gray4ColourR: transformed from: qqds_Rectangle
     * TagId=38
     * isInherited=FALSE
     */
    public Rectangle getqq_Gray4ColourR() {
        if (qq_Gray4ColourR == null) {
            qq_Gray4ColourR = new Rectangle();
            qq_Gray4ColourR.setName("Gray4ColourR");
            qq_Gray4ColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_Gray4ColourR.setOpaque(true);
            ColourChange.setBackground(qq_Gray4ColourR, Constants.C_GRAY4);
            ColourChange.setForeground(qq_Gray4ColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_Gray4ColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Gray4ColourR, Constants.SP_EXPLICIT);
            qq_Gray4ColourR.setSize(new Dimension(14, 17));
            qq_Gray4ColourR.setMinimumSize(new Dimension(14, 17));
            qq_Gray4ColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_Gray4ColourR;
    }

    public void setqq_Gray4ColourR(Rectangle value) {
        Rectangle oldValue = qq_Gray4ColourR;
        qq_Gray4ColourR = value;
        this.qq_Listeners.firePropertyChange("qq_Gray4ColourR", oldValue, value);
    }

    /**
     * qq_Gray5ColourR: transformed from: qqds_Rectangle
     * TagId=39
     * isInherited=FALSE
     */
    public Rectangle getqq_Gray5ColourR() {
        if (qq_Gray5ColourR == null) {
            qq_Gray5ColourR = new Rectangle();
            qq_Gray5ColourR.setName("Gray5ColourR");
            qq_Gray5ColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_Gray5ColourR.setOpaque(true);
            ColourChange.setBackground(qq_Gray5ColourR, Constants.C_GRAY5);
            ColourChange.setForeground(qq_Gray5ColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_Gray5ColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Gray5ColourR, Constants.SP_EXPLICIT);
            qq_Gray5ColourR.setSize(new Dimension(14, 17));
            qq_Gray5ColourR.setMinimumSize(new Dimension(14, 17));
            qq_Gray5ColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_Gray5ColourR;
    }

    public void setqq_Gray5ColourR(Rectangle value) {
        Rectangle oldValue = qq_Gray5ColourR;
        qq_Gray5ColourR = value;
        this.qq_Listeners.firePropertyChange("qq_Gray5ColourR", oldValue, value);
    }

    /**
     * qq_Gray6ColourR: transformed from: qqds_Rectangle
     * TagId=40
     * isInherited=FALSE
     */
    public Rectangle getqq_Gray6ColourR() {
        if (qq_Gray6ColourR == null) {
            qq_Gray6ColourR = new Rectangle();
            qq_Gray6ColourR.setName("Gray6ColourR");
            qq_Gray6ColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_Gray6ColourR.setOpaque(true);
            ColourChange.setBackground(qq_Gray6ColourR, Constants.C_GRAY6);
            ColourChange.setForeground(qq_Gray6ColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_Gray6ColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Gray6ColourR, Constants.SP_EXPLICIT);
            qq_Gray6ColourR.setSize(new Dimension(14, 17));
            qq_Gray6ColourR.setMinimumSize(new Dimension(14, 17));
            qq_Gray6ColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_Gray6ColourR;
    }

    public void setqq_Gray6ColourR(Rectangle value) {
        Rectangle oldValue = qq_Gray6ColourR;
        qq_Gray6ColourR = value;
        this.qq_Listeners.firePropertyChange("qq_Gray6ColourR", oldValue, value);
    }

    /**
     * qq_Gray7ColourR: transformed from: qqds_Rectangle
     * TagId=41
     * isInherited=FALSE
     */
    public Rectangle getqq_Gray7ColourR() {
        if (qq_Gray7ColourR == null) {
            qq_Gray7ColourR = new Rectangle();
            qq_Gray7ColourR.setName("Gray7ColourR");
            qq_Gray7ColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_Gray7ColourR.setOpaque(true);
            ColourChange.setBackground(qq_Gray7ColourR, Constants.C_GRAY7);
            ColourChange.setForeground(qq_Gray7ColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_Gray7ColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Gray7ColourR, Constants.SP_EXPLICIT);
            qq_Gray7ColourR.setSize(new Dimension(14, 17));
            qq_Gray7ColourR.setMinimumSize(new Dimension(14, 17));
            qq_Gray7ColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_Gray7ColourR;
    }

    public void setqq_Gray7ColourR(Rectangle value) {
        Rectangle oldValue = qq_Gray7ColourR;
        qq_Gray7ColourR = value;
        this.qq_Listeners.firePropertyChange("qq_Gray7ColourR", oldValue, value);
    }

    /**
     * qq_BlackColourR: transformed from: qqds_Rectangle
     * TagId=42
     * isInherited=FALSE
     */
    public Rectangle getqq_BlackColourR() {
        if (qq_BlackColourR == null) {
            qq_BlackColourR = new Rectangle();
            qq_BlackColourR.setName("BlackColourR");
            qq_BlackColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_BlackColourR.setOpaque(true);
            ColourChange.setBackground(qq_BlackColourR, Constants.C_BLACK);
            ColourChange.setForeground(qq_BlackColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_BlackColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_BlackColourR, Constants.SP_EXPLICIT);
            qq_BlackColourR.setSize(new Dimension(14, 17));
            qq_BlackColourR.setMinimumSize(new Dimension(14, 17));
            qq_BlackColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_BlackColourR;
    }

    public void setqq_BlackColourR(Rectangle value) {
        Rectangle oldValue = qq_BlackColourR;
        qq_BlackColourR = value;
        this.qq_Listeners.firePropertyChange("qq_BlackColourR", oldValue, value);
    }

    /**
     * qq_WhiteColourR: transformed from: qqds_Rectangle
     * TagId=43
     * isInherited=FALSE
     */
    public Rectangle getqq_WhiteColourR() {
        if (qq_WhiteColourR == null) {
            qq_WhiteColourR = new Rectangle();
            qq_WhiteColourR.setName("WhiteColourR");
            qq_WhiteColourR.setLineWeight(DisplayProject.Constants.W_ONEPIXEL);
            qq_WhiteColourR.setOpaque(true);
            ColourChange.setBackground(qq_WhiteColourR, Constants.C_WHITE);
            ColourChange.setForeground(qq_WhiteColourR, Constants.C_BLACK);
            WidthPolicy.set(qq_WhiteColourR, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_WhiteColourR, Constants.SP_EXPLICIT);
            qq_WhiteColourR.setSize(new Dimension(14, 17));
            qq_WhiteColourR.setMinimumSize(new Dimension(14, 17));
            qq_WhiteColourR.setPreferredSize(new Dimension(14, 17));
        }
        return qq_WhiteColourR;
    }

    public void setqq_WhiteColourR(Rectangle value) {
        Rectangle oldValue = qq_WhiteColourR;
        qq_WhiteColourR = value;
        this.qq_Listeners.firePropertyChange("qq_WhiteColourR", oldValue, value);
    }

    /**
     * qq_InheritedColourR: transformed from: qqds_PictureGraphic
     * TagId=44
     * isInherited=FALSE
     */
    public PictureGraphic getqq_InheritedColourR() {
        if (qq_InheritedColourR == null) {
            qq_InheritedColourR = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_InheritedColourR.setImageValue(new ImageData(new ImageIcon(Main.class.getResource("main.qq_InheritedColourR.png"))));
            qq_InheritedColourR.setWidthPolicy(Constants.SP_NATURAL);
            qq_InheritedColourR.setHeightPolicy(Constants.SP_NATURAL);
            qq_InheritedColourR.setImageSizePolicy(Constants.IS_NATURAL);
            qq_InheritedColourR.setOpaque( true );
            qq_InheritedColourR.setSize(new Dimension(14, 17));
            qq_InheritedColourR.setMinimumSize(new Dimension(14, 17));
            qq_InheritedColourR.setPreferredSize(new Dimension(14, 17));
            // HelpTopic
            CSH.setHelpIDString(qq_InheritedColourR, "");
            // FloatOverText
            qq_InheritedColourR.setToolTipText("Inherit Color");
            // StatusText
            StatusText.set(qq_InheritedColourR, "Widget inherits color from its parent");
        }
        return qq_InheritedColourR;
    }

    public void setqq_InheritedColourR(PictureGraphic value) {
        PictureGraphic oldValue = qq_InheritedColourR;
        qq_InheritedColourR = value;
        this.qq_Listeners.firePropertyChange("qq_InheritedColourR", oldValue, value);
    }

    /**
     * qq_ColorPaletteGF: transformed from: qqds_GridField
     * TagId=13
     * isInherited=FALSE
     * In forte this was a 31x1 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_ColorPaletteGFProperties() {
        qq_ColorPaletteGF.setCellGravity(Constants.CG_CENTER);
        qq_ColorPaletteGF.setCollapsed(true);
        qq_ColorPaletteGF.setHeightPolicy(Constants.SP_NATURAL);
        qq_ColorPaletteGF.setWidthPolicy(Constants.SP_NATURAL);
        ColourChange.setBackground(qq_ColorPaletteGF, Constants.C_DEFAULT);
    }

    public GridField getqq_ColorPaletteGF() {
        if (qq_ColorPaletteGF == null) {
            qq_ColorPaletteGF = CompoundFieldFactory.newGridField("ColorPaletteGF", false);
            setqq_ColorPaletteGFProperties();
            qq_ColorPaletteGF.setMinimumSize(new Dimension(468, 21));
            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_ColorPaletteGF.add( getqq_InheritedColourR(), 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_ColorPaletteGF.add( getqq_WhiteColourR(), 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_ColorPaletteGF.add( getqq_Gray1ColourR(), 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_ColorPaletteGF.add( getqq_Gray2ColourR(), 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(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_ColorPaletteGF.add( getqq_Gray3ColourR(), qq_gbc4 );

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        }
        return qq_ColorPaletteGF;
    }

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

    /**
     * qq_ColorFeature: transformed from: qqds_DropList
     * TagId=45
     * isInherited=FALSE
     */
    public DropList getqq_ColorFeature() {
        if (qq_ColorFeature == null) {
            Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
            elements.add( new ListElement( 50, "Fill", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 51, "Pen", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 52, "Frame", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 53, "Contrast", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );

            qq_ColorFeature = DropFillinFactory.newDropList();
            qq_ColorFeature.setName("ColorFeature");
            getBindingManager().bindComponent(qq_ColorFeature, "colorFeature", elements);
            qq_ColorFeature.addActionListener( (DropListModel)qq_ColorFeature.getModel() );
            // OPTIONAL UIutils.reloadLabelText(qq_ColorFeature, mcat);
            qq_ColorFeature.setMaximumRowCount(4);
            ColourChange.setBackground(qq_ColorFeature, Constants.C_DEFAULT);
            WidthPolicy.set(qq_ColorFeature, Constants.SP_NATURAL);
            HeightPolicy.set(qq_ColorFeature, Constants.SP_NATURAL);
            qq_ColorFeature.setMinimumSize(new Dimension(76, 21));
            // HelpTopic
            CSH.setHelpIDString(qq_ColorFeature, "");
            // FloatOverText
            qq_ColorFeature.setToolTipText("Color Feature");
            // StatusText
            StatusText.set(qq_ColorFeature, "Feature of widget to color");
        }
        return qq_ColorFeature;
    }

    public void setqq_ColorFeature(DropList value) {
        DropList oldValue = qq_ColorFeature;
        qq_ColorFeature = value;
        this.qq_Listeners.firePropertyChange("qq_ColorFeature", oldValue, value);
    }

    /**
     * qq_ColorGF: transformed from: qqds_GridField
     * TagId=12
     * isInherited=FALSE
     * In forte this was a 2x1 grid field.
     * Neither the top nor the bottom cell margins are set, but the left and right cell margins are both 10 mils.
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_ColorGFProperties() {
        qq_ColorGF.setCellLeftMargin(5);
        qq_ColorGF.setCellRightMargin(5);
        qq_ColorGF.setCellGravity(Constants.CG_CENTER);
        qq_ColorGF.setCollapsed(true);
        qq_ColorGF.setHeightPolicy(Constants.SP_NATURAL);
        qq_ColorGF.setWidthPolicy(Constants.SP_NATURAL);
        qq_ColorGF.setBackground(null);
        qq_ColorGF.setLocation(18, 9);
    }

    public GridField getqq_ColorGF() {
        if (qq_ColorGF == null) {
            qq_ColorGF = CompoundFieldFactory.newGridField("ColorGF", false);
            setqq_ColorGFProperties();
            qq_ColorGF.setMinimumSize(new Dimension(549, 26));
            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, 0); // Top, Left, Bottom, Right Margin
            qq_ColorGF.add( getqq_ColorFeature(), 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, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_ColorGF.add( getqq_ColorPaletteGF(), qq_gbc1 );

        }
        return qq_ColorGF;
    }

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

    /**
     * qq_aTextField_sp: transformed from: qqds_TextField
     * TagId=47
     * isInherited=FALSE
     */
    public JScrollPane getqq_aTextField_sp() {
        if (qq_aTextField_sp == null) {
            qq_aTextField_sp = CompoundFieldFactory.newScrollPane();
            qq_aTextField_sp.setName("aTextField");
            qq_aTextField_sp.setViewportView(getqq_aTextField());
            qq_aTextField_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            qq_aTextField_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
            WidthPolicy.set(qq_aTextField_sp, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_aTextField_sp, Constants.SP_EXPLICIT);
            qq_aTextField_sp.setSize(new Dimension(145, 62));
            qq_aTextField_sp.setMinimumSize(new Dimension(145, 62));
            qq_aTextField_sp.setPreferredSize(new Dimension(145, 62));
            qq_aTextField_sp.setLocation(18, 91);
        }
        return qq_aTextField_sp;
    }

    public void setqq_aTextField_sp(JScrollPane value) {
        JScrollPane oldValue = qq_aTextField_sp;
        qq_aTextField_sp = value;
        this.qq_Listeners.firePropertyChange("qq_aTextField_sp", oldValue, value);
    }

    /**
     * qq_aTextField: transformed from: qqds_TextField
     * TagId=47
     * isInherited=FALSE
     */
    public MultiLineTextField getqq_aTextField() {
        if (qq_aTextField == null) {
            qq_aTextField = TextEditFactory.newTextField("aTextField", 4, 16);
            getBindingManager().bindComponent(qq_aTextField, "ATextField");
            ExitOnTab.set(qq_aTextField, true);
            WidthPolicy.set(qq_aTextField, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_aTextField, Constants.SP_EXPLICIT);
            qq_aTextField.setLocation(18, 91);
        }
        return qq_aTextField;
    }

    public void setqq_aTextField(MultiLineTextField value) {
        MultiLineTextField oldValue = qq_aTextField;
        qq_aTextField = value;
        this.qq_Listeners.firePropertyChange("qq_aTextField", oldValue, value);
    }

    /**
     * qq_aTextEditField_sp: transformed from: qqds_TextEditField
     * TagId=48
     * isInherited=FALSE
     */
    public JScrollPane getqq_aTextEditField_sp() {
        if (qq_aTextEditField_sp == null) {
            qq_aTextEditField_sp = CompoundFieldFactory.newScrollPane();
            qq_aTextEditField_sp.setName("aTextEditField");
            qq_aTextEditField_sp.setViewportView(getqq_aTextEditField());
            qq_aTextEditField_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
            qq_aTextEditField_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
            WidthPolicy.set(qq_aTextEditField_sp, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_aTextEditField_sp, Constants.SP_EXPLICIT);
            qq_aTextEditField_sp.setSize(new Dimension(149, 91));
            qq_aTextEditField_sp.setMinimumSize(new Dimension(149, 91));
            qq_aTextEditField_sp.setPreferredSize(new Dimension(149, 91));
            qq_aTextEditField_sp.setLocation(18, 168);
        }
        return qq_aTextEditField_sp;
    }

    public void setqq_aTextEditField_sp(JScrollPane value) {
        JScrollPane oldValue = qq_aTextEditField_sp;
        qq_aTextEditField_sp = value;
        this.qq_Listeners.firePropertyChange("qq_aTextEditField_sp", oldValue, value);
    }

    /**
     * qq_aTextEditField: transformed from: qqds_TextEditField
     * TagId=48
     * isInherited=FALSE
     */
    public MultiLineTextField getqq_aTextEditField() {
        if (qq_aTextEditField == null) {
            qq_aTextEditField = TextEditFactory.newTextEditField("aTextEditField", 5, 10);
            LineNumbers.set(qq_aTextEditField, true );
            getBindingManager().bindComponent(qq_aTextEditField, "ATextEditField");
            WidthPolicy.set(qq_aTextEditField, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_aTextEditField, Constants.SP_EXPLICIT);
            qq_aTextEditField.setLocation(18, 168);
        }
        return qq_aTextEditField;
    }

    public void setqq_aTextEditField(MultiLineTextField value) {
        MultiLineTextField oldValue = qq_aTextEditField;
        qq_aTextEditField = value;
        this.qq_Listeners.firePropertyChange("qq_aTextEditField", oldValue, value);
    }

    /**
     * qq_aDropList: transformed from: qqds_DropList
     * TagId=49
     * isInherited=FALSE
     */
    public DropList getqq_aDropList() {
        if (qq_aDropList == null) {
            Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
            elements.add( new ListElement( 1, "One", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 2, "Two", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 3, "Three", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 4, "Four", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );

            qq_aDropList = DropFillinFactory.newDropList();
            qq_aDropList.setName("aDropList");
            getBindingManager().bindComponent(qq_aDropList, "ADropList", elements);
            qq_aDropList.addActionListener( (DropListModel)qq_aDropList.getModel() );
            // OPTIONAL UIutils.reloadLabelText(qq_aDropList, mcat);
            qq_aDropList.setMaximumRowCount(4);
            WidthPolicy.set(qq_aDropList, Constants.SP_NATURAL);
            HeightPolicy.set(qq_aDropList, Constants.SP_NATURAL);
            qq_aDropList.setMinimumSize(new Dimension(62, 21));
            qq_aDropList.setLocation(19, 278);
        }
        return qq_aDropList;
    }

    public void setqq_aDropList(DropList value) {
        DropList oldValue = qq_aDropList;
        qq_aDropList = value;
        this.qq_Listeners.firePropertyChange("qq_aDropList", oldValue, value);
    }

    /**
     * qq_aFillinFIeld: transformed from: qqds_FillInField
     * TagId=50
     * isInherited=FALSE
     */
    public FillInField getqq_aFillinFIeld() {
        if (qq_aFillinFIeld == null) {
            Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
            elements.add( new ListElement( 1, "One", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 2, "Two", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 3, "Three", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 4, "Four", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            qq_aFillinFIeld = DropFillinFactory.newFillinField();
            qq_aFillinFIeld.setName("aFillinFIeld");
            getBindingManager().bindComponent(qq_aFillinFIeld, "AFillinFIeld", elements);
            qq_aFillinFIeld.addActionListener( (DropListModel)qq_aFillinFIeld.getModel() );
            // OPTIONAL UIutils.reloadLabelText(qq_aFillinFIeld, mcat);
            qq_aFillinFIeld.setMaximumRowCount(4);
            qq_aFillinFIeld.setVisibleColumns(15);
            WidthPolicy.set(qq_aFillinFIeld, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_aFillinFIeld, Constants.SP_NATURAL);
            qq_aFillinFIeld.setMinimumSize(new Dimension(122, 21));
            qq_aFillinFIeld.setSize(new Dimension(122, 21));
            qq_aFillinFIeld.setLocation(102, 283);
        }
        return qq_aFillinFIeld;
    }

    public void setqq_aFillinFIeld(FillInField value) {
        FillInField oldValue = qq_aFillinFIeld;
        qq_aFillinFIeld = value;
        this.qq_Listeners.firePropertyChange("qq_aFillinFIeld", oldValue, value);
    }

    /**
     * Form: transformed from: qqds_Panel
     * TagId=1
     * isInherited=FALSE
     */
    protected void setFormProperties() {
        Form.setOpaque( true );
    }

    public JPanel getForm() {
        if (Form == null) {
            Form = CompoundFieldFactory.newForm();
            this.setFormProperties();
            Form.add( getqq_aFillinFIeld() );
            Form.add( getqq_aDropList() );
            Form.add( getqq_aTextEditField_sp() );
            Form.add( getqq_aTextField_sp() );
            Form.add( getqq_ColorGF() );
            Form.add( getqq_aDataField() );
        }
        return Form;
    }

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

    /**
     * Gets the system close policy
     *
     * The SystemClosePolicy property determines how a window responds to user attempts to close it by using the native window system through the window close box or a window system menu command.
     * SystemClosePolicy responds to window closure attempts according to the following parameters:
     * <li>Constants.SC_DISABLED  Does not allow window closure through window system.</li>
     * <li>Constants.SC_ENABLEDNOFINALIZE  Window can be closed, but the contents are not verified, guaranteeing that the window will close (for example, the user clicks the Cancel button).</li>
     * <li>Constants.SC_ENABLEDFINALIZE  Posts the RequestFinalize method on the window, with a reason code of zero.</li>
     * <li>Constants.SC_ENABLEDSHUTDOWN  Posts Shutdown event to window�s task and to all tasks started by that task. This is the default value.</li>
     */
    public int getSystemClosePolicy() {
        return qq_SystemClosePolicy;
    }

    /**
     * Sets the system close policy
     *
     * The SystemClosePolicy property determines how a window responds to user attempts to close it by using the native window system through the window close box or a window system menu command.
     * SystemClosePolicy responds to window closure attempts according to the following parameters:
     * <li>Constants.SC_DISABLED  Does not allow window closure through window system.</li>
     * <li>Constants.SC_ENABLEDNOFINALIZE  Window can be closed, but the contents are not verified, guaranteeing that the window will close (for example, the user clicks the Cancel button).</li>
     * <li>Constants.SC_ENABLEDFINALIZE  Posts the RequestFinalize method on the window, with a reason code of zero.</li>
     * <li>Constants.SC_ENABLEDSHUTDOWN  Posts Shutdown event to window�s task and to all tasks started by that task. This is the default value.</li>
     */
    public void setSystemClosePolicy(int policy) {
        this.qq_SystemClosePolicy = policy;
        if (policy == Constants.SC_DISABLED) {
            this.addComponentListener(new CloseHideAdaptor(this));
        } else {
            for (ComponentListener cl : this.getComponentListeners()) {
                if (cl instanceof CloseHideAdaptor) {
                    this.removeComponentListener(cl);
                    break;
                }
            }
        }
    }

    /**
     * Gets the initial position policy
     *
     * The InitialPositionPolicy property sets the position of a main window when it is first displayed, relative to a primary window or the screen.
     * You use the InitialPositionPolicy property in conjunction with the InitialX, InitialY properties.
     * InitialPositionPolicy sets the position of a window according to the following values:
     * <li>Constants.PP_SYSTEMDEFAULT    Accepts the default window system placement specification.</li>
     * <li>Constants.PP_PRIMARYCENTERED  Centers the window relative to the window specified as the PrimaryWindow property.</li>
     * <li>Constants.PP_PRIMARYRELATIVE  Positions the window relative to the primary window, using the PrimaryWindow, InitialX and InitialY attributes.</li>
     * <li>Constants.PP_SCREENCENTERED  Centers the window relative to the screen.</li>
     * <li>Constants.PP_SCREENRELATIVE  Positions the window relative to the screen, using the InitialX and InitialY properties.</li>
     */
    public int getInitialPositionPolicy() {
        return qq_initialPositionPolicy;
    }

    /**
     * Sets the initial position policy
     *
     * The InitialPositionPolicy property sets the position of a main window when it is first displayed, relative to a primary window or the screen.
     * You use the InitialPositionPolicy property in conjunction with the InitialX, InitialY properties.
     * InitialPositionPolicy sets the position of a window according to the following values:
     * <li>Constants.PP_SYSTEMDEFAULT    Accepts the default window system placement specification.</li>
     * <li>Constants.PP_PRIMARYCENTERED  Centers the window relative to the window specified as the PrimaryWindow property.</li>
     * <li>Constants.PP_PRIMARYRELATIVE  Positions the window relative to the primary window, using the PrimaryWindow, InitialX and InitialY attributes.</li>
     * <li>Constants.PP_SCREENCENTERED  Centers the window relative to the screen.</li>
     * <li>Constants.PP_SCREENRELATIVE  Positions the window relative to the screen, using the InitialX and InitialY properties.</li>
     */
    public void setInitialPositionPolicy(int policy) {
        this.qq_initialPositionPolicy = policy;
    }

    /**
     * Gets the primary window
     *
     * The primary window property designates a window, known as a primary window, to serve as an initial position reference for the current window.
     * When a main window first realizes itself through the Open method on the UserWindow, it assumes a position according to the InitialPositionPolicy attribute.
     * When the InitialPositionPolicy property is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_PRIMARYCENTERED (centered on the primary window),
     * the window realizes itself in a position relative to the designated primary window.<p>
     * <p>
     * To take a position relative to the primary window, a window uses the PrimaryWindow attribute in conjunction with the InitialX and InitialY properties, which specify the window�s horizontal and vertical coordinates.
     */
    public Window getPrimaryWindow() {
        return this.primaryWindow;
    }

    /**
     * Sets the primary window
     *
     * The primary window property designates a window, known as a primary window, to serve as an initial position reference for the current window.
     * When a main window first realizes itself through the Open method on the UserWindow, it assumes a position according to the InitialPositionPolicy attribute.
     * When the InitialPositionPolicy property is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_PRIMARYCENTERED (centered on the primary window),
     * the window realizes itself in a position relative to the designated primary window.<p>
     * <p>
     * To take a position relative to the primary window, a window uses the PrimaryWindow attribute in conjunction with the InitialX and InitialY properties, which specify the window�s horizontal and vertical coordinates.
     */
    public void setPrimaryWindow(Window value) {
        this.primaryWindow = value;
    }

    /**
     * Gets the InitialX value
     *
     * The InitialX property (integer) is the window�s initial horizontal screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialX applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialX, and its corollary, InitialY, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public int getInitialX() {
        return initialX;
    }

    /**
     * Sets the InitialX value
     *
     * The InitialX property (integer) is the window�s initial horizontal screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialX applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialX, and its corollary, InitialY, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public void setInitialX(int value) {
        this.initialX = value;
    }

    /**
     * Gets the InitialY value
     *
     * The InitialY property (integer) is the window�s initial vertical screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialY applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialY, and its corollary, InitialX, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public int getInitialY() {
        return initialY;
    }

    /**
     * Sets the InitialY value
     *
     * The InitialY property (integer) is the window�s initial vertical screen position, relative to a primary window or the screen. It is specified in mils.
     * InitialY applies only to main windows and only when a window�s InitialPositionPolicy attribute is set to PP_PRIMARYRELATIVE (relative to the primary window) or PP_SCREENRELATIVE (relative to the screen).
     * InitialY, and its corollary, InitialX, work in conjunction with the PrimaryWindow and InitialPositionPolicy attributes to determine the position of a main window when it is first realized.
     */
    public void setInitialY(int value) {
        this.initialY = 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.
     */
    protected void initialize() {
        if (this.Form == null) {
            this.setName( "main" );
            this.setTitle( "" );
            this.setSystemClosePolicy(Constants.SC_ENABLEDSHUTDOWN);
            if (this.getContentPane() != this.getForm()) {
                this.setContentPane(getForm());
            }
            this.qq_setupWindowUsage();
            this.setResizable( false );
            this.setAlwaysOnTop(false);
            UserWindow.setIconizeEnabled(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
    //-----------------
    protected WindowUsageMap usage = new WindowUsageMap();
    public int getUsage() {
        return this.usage.getUsage();
    }
    public WindowUsageMap getUsageMap() {
        return this.usage;
    }
    /**
     * Sets the window usage
     *
     * The Usage property sets the state for all a window�s child widgets at once, providing collective widget state changes on a predefined basis. A widget�s state determines how the widget reacts to mouse actions and how it displays itself. A window�s Usage property provides a convenient way to control the states of a group of widgets in the context of their parent window. With the Usage attribute, you can synchronize widget states to conform to a pattern you establish for the window.
     * The Usage attribute accepts the following values:
     * <li>Constants.WU_EDIT  Edit usage: widgets themselves are editable, but not underlying data.</li>
     * <li>Constants.WU_QUERY  Query only usage: widget data is editable, but not widgets themselves.</li>
     * <li>Constants.WU_UPDATE  Update usage: mouse actions and keyboard input accepted. Widgets themselves are changeable. This is the default.</li>
     * <li>Constants.WU_USER1  A user-defined usage. Default values same as WU_UPDATE.</li>
     * <li>Constants.WU_USER2  A user-defined usage. Default values same as WU_UPDATE.</li>
     * <li>Constants.WU_USER3  A user-defined usage. Default values same as WU_UPDATE.</li>
     * <li>Constants.WU_VIEW  View-only usage: no keyboard input is accepted. Widget posts Click events for mouse clicks.</li>
     */
    public void setUsage(int usage) {
        this.usage.setUsage(usage);
    }
    public void qq_setupWindowUsage() {
        this.usage = new WindowUsageMap();
        this.usage.add(getqq_aDataField(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_ColorGF(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_ColorPaletteGF(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_PaleRedColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_RedColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrightRedColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PaleBlueColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BlueColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrightBlueColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PaleGreenColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_GreenColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrightGreenColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PaleCyanColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_CyanColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrightCyanColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PaleYellowColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_YellowColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrightYellowColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PaleMagentaColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_MagentaColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrightMagentaColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PaleBrownColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrownColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BrightBrownColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Gray1ColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Gray2ColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Gray3ColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Gray4ColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Gray5ColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Gray6ColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_Gray7ColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_BlackColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_WhiteColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_InheritedColourR(), Constants.FS_DRAG, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_ColorFeature(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_aTextField(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_aTextEditField(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_aDropList(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_aFillinFIeld(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
    }
    // </editor-fold>

    // -----------
    // Main method
    // -----------
        public static void main( String[] args ) {
            FrameworkUtils.setCmdLineArgs(args);
            AppletConnectionInfo client = null;
            try {
                // Install our own focus manager. MUST be done prior to setting the
                // UIManager, otherwise you'll run into issues like things have the wrong focus.
                KeyboardFocusManager.setCurrentKeyboardFocusManager(new ForteKeyboardFocusManager());

                UIManager.setLookAndFeel(new Win32LookAndFeel());

                client = UserWindow.postAPPLETStarted();
                Main main_start = new Main();
                main_start.display();
                UserWindow.postAPPLETStopped(client);
                System.exit(0);
            } catch (Throwable e) {
                ErrorMgr.showErrors(null, "Unhandled exception", e);
                UserWindow.postAPPLETStopped(client);
                System.exit(0);
            }
        }
// end class main
// c Pass 2 Conversion Time: 624 milliseconds
TOP

Related Classes of Colours.Main

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.