Package win

Source Code of win.BraDefinition$AsyncRunner

package win;

import DisplayProject.CloseHideAdaptor;
import DisplayProject.Constants;
import DisplayProject.CursorMgr;
import DisplayProject.DataField;
import DisplayProject.DropListModel;
import DisplayProject.GridField;
import DisplayProject.RadioList;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowManager;
import DisplayProject.WindowUsageMap;
import DisplayProject.actions.AppletConnectionInfo;
import DisplayProject.actions.Caption;
import DisplayProject.actions.Column;
import DisplayProject.actions.DefaultButton;
import DisplayProject.actions.ExitOnTab;
import DisplayProject.actions.FrameWeight;
import DisplayProject.actions.HeightPolicy;
import DisplayProject.actions.ObjectValue;
import DisplayProject.actions.Parent;
import DisplayProject.actions.Row;
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.MultiLineTextField;
import DisplayProject.controls.TextGraphic;
import DisplayProject.events.ClientEventManager;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.DataFieldFactory;
import DisplayProject.factory.DropFillinFactory;
import DisplayProject.factory.GraphicFactory;
import DisplayProject.factory.ListFieldFactory;
import DisplayProject.factory.PushButtonFactory;
import DisplayProject.factory.TextEditFactory;
import DisplayProject.factory.ToggleFieldFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import Framework.Array_Of_ListElement;
import Framework.AsyncStarter;
import Framework.DecimalData;
import Framework.ErrorMgr;
import Framework.EventHandle;
import Framework.EventManager;
import Framework.EventRegistration;
import Framework.File;
import Framework.ForteKeyboardFocusManager;
import Framework.FrameworkUtils;
import Framework.ListElement;
import Framework.RuntimeProperties;
import Framework.TextData;
import Framework.UsageException;
import Services.interfaces.*;
import entities.Bra;
import entities.Supplier;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.KeyboardFocusManager;
import java.awt.Toolkit;
import java.awt.Window;
import java.awt.event.ComponentListener;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.Object;
import java.lang.String;
import java.net.MalformedURLException;
import java.net.URL;
import java.text.ParseException;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.UIManager;
import javax.swing.text.MaskFormatter;
import org.apache.log4j.Logger;
import win.AddressView;

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

    // -------------
    // Inner classes
    // -------------
    /**
     * This class contains routines to be able to start threads for the methods on this class in a manner
     * similar to that allowed by Forte. This includes:<p>
     * <ul>
     * <li>Arbitrary parameters</li>
     * <li>Starting threads as daemon threads</li>
     * <li>Naming the thread for easy debugging</li>
     * </ul>
     */
    public static class AsyncRunner extends AsyncStarter {
        /**
         * Create an async runner which does not fire completion events nor begin a transaction
         */
        public AsyncRunner() {
            super();
        }

        /**
         * display<p>
         * <p>
         */
        public Thread display(final BraDefinition pBraDefinition) {
            return startTask(pBraDefinition, "BraDefinition.Display",
                    new AsyncStarter.AsyncInvoker() {
                        @Override public void runWithNoReturn() {
                            pBraDefinition.display();
                        }
                    });
        }
    }

    // ----------
    // Attributes
    // ----------
    protected File DefaultHelpFile;
    protected BindingManager bindingManager = null;
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private AddressView addr;
    private Bra theBra;
    private DecimalData margin;

    // ------------
    // Constructors
    // ------------
    public BraDefinition() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.initialize();
        this.setAddr(new AddressView());
        Row.set(this.getAddr(), 3);
        Column.set(this.getAddr(), 2);
        Parent.set(this.getAddr(), this.getqq_theBra_Supplier());
        this.setTheBra(new Bra());
        this.getAddr().setAddressx(this.getTheBra().getSupplier().getAddress());
        this.setMargin(new DecimalData());

    }

    // ----------------------
    // 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 setAddr(AddressView addr) {
        AddressView oldValue = this.addr;
        this.addr = addr;
        this.qq_Listeners.firePropertyChange("addr", oldValue, this.addr);
    }

    public AddressView getAddr() {
        return this.addr;
    }

    public void setTheBra(Bra theBra) {
        Bra oldValue = this.theBra;
        this.theBra = theBra;
        this.qq_Listeners.firePropertyChange("theBra", oldValue, this.theBra);
    }

    public Bra getTheBra() {
        return this.theBra;
    }

    public void setMargin(DecimalData margin) {
        DecimalData oldValue = this.margin;
        this.margin = margin;
        this.qq_Listeners.firePropertyChange("margin", oldValue, this.margin);
    }

    public DecimalData getMargin() {
        return this.margin;
    }

    // -------
    // 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>
     * <p>
     */
    public void display() {
        UserWindow.open(this);
        Logger.getLogger("task.part.logmgr").info( Integer.toString(this.getqq_theBra_inner().getCellLeftMargin()));
        Logger.getLogger("task.part.logmgr").info( Integer.toString(this.getqq_theBra_inner().getCellTopMargin()));
        Logger.getLogger("task.part.logmgr").info( Integer.toString(Toolkit.getDefaultToolkit().getScreenResolution()));
        Logger.getLogger("task.part.logmgr").info( Integer.toString(this.getqq_maingrid().getCellRightMargin()));
        Logger.getLogger("task.part.logmgr").info( Integer.toString(this.getqq_maingrid().getCellBottomMargin()));
        // ----------
        // Event Loop
        // ----------
        EventManager.startEventLoop();
        try {
            EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
            EventRegistration GridField_ChildAfterFirstKeystroke_getqq_theBra = ClientEventManager.register( this.getqq_theBra(), "ChildAfterFirstKeystroke" );
            EventRegistration DataField_AfterFirstKeystroke_getqq_theBra_Name = ClientEventManager.register( this.getqq_theBra_Name(), "AfterFirstKeystroke" );
            EventRegistration TextField_AfterFirstKeystroke_getqq_theBra_description = ClientEventManager.register( this.getqq_theBra_description(), "AfterFirstKeystroke" );
            EventRegistration GridField_ChildAfterValueChange_getqq_theBra = ClientEventManager.register( this.getqq_theBra(), "ChildAfterValueChange" );
            EventRegistration PushButton_Click_getqq_save = ClientEventManager.register( this.getqq_save(), "Click" );
            EventRegistration PushButton_Click_getqq_Find = ClientEventManager.register( this.getqq_Find(), "Click" );
            EventRegistration PushButton_Click_getqq_One = ClientEventManager.register( this.getqq_One(), "Click" );

            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();
                    }
                }

                // ---------------------------------
                // <theBra>.ChildAfterFirstKeyStroke
                // ---------------------------------
                else if (qq_currentEvent.isEvent(GridField_ChildAfterFirstKeystroke_getqq_theBra)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        Logger.getLogger("task.part.logmgr").info("** Child First keyStroke **");
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ---------------------------------
                // <theBra.Name>.AfterFirstKeyStroke
                // ---------------------------------
                else if (qq_currentEvent.isEvent(DataField_AfterFirstKeystroke_getqq_theBra_Name)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        Logger.getLogger("task.part.logmgr").info("** Name First keyStroke **");
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ----------------------------------------
                // <theBra.description>.AfterFirstKeyStroke
                // ----------------------------------------
                else if (qq_currentEvent.isEvent(TextField_AfterFirstKeystroke_getqq_theBra_description)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        Logger.getLogger("task.part.logmgr").info("** Description First keyStroke **");
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ------------------------------
                // <theBra>.ChildAfterValueChange
                // ------------------------------
                else if (qq_currentEvent.isEvent(GridField_ChildAfterValueChange_getqq_theBra)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        Logger.getLogger("task.part.logmgr").info("** Child Value Change **");
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ------------
                // <save>.click
                // ------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_save)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        BraShop_proxy.getInstance().putBra(this.getTheBra());
                        Object o = ObjectValue.get(this.getqq_theBra_Color());
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // ------------
                // <Find>.click
                // ------------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_Find)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        this.setTheBra(BraShop_proxy.getInstance().getBra(new TextData(this.getTheBra().getName())));
                        this.getAddr().setAddressx(this.getTheBra().getSupplier().getAddress());
                        UIutils.processGUIActions();
                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }

                // -----------
                // <One>.click
                // -----------
                else if (qq_currentEvent.isEvent(PushButton_Click_getqq_One)) {
                    try {
                        CursorMgr.startEvent();
                        // ================ Begin Forte Event Handler Translation ================
                        this.getTheBra().setStyle(3);
                        this.getTheBra().setSupplier(new Supplier());
                        this.getAddr().getAddressx().getStreet().setValue( "qxqxqxqxqxq" );
                        this.getMargin().setValue(30.0);

                        // ================ End Forte Event Handler Translation ================
                    }
                    finally {
                        CursorMgr.endEvent();
                    }
                }
            }
            EventManager.deregister( TaskHandle_Shutdown_langThreadcurrentThread );
            EventManager.deregister( GridField_ChildAfterFirstKeystroke_getqq_theBra );
            EventManager.deregister( DataField_AfterFirstKeystroke_getqq_theBra_Name );
            EventManager.deregister( TextField_AfterFirstKeystroke_getqq_theBra_description );
            EventManager.deregister( GridField_ChildAfterValueChange_getqq_theBra );
            EventManager.deregister( PushButton_Click_getqq_save );
            EventManager.deregister( PushButton_Click_getqq_Find );
            EventManager.deregister( PushButton_Click_getqq_One );
        }
        //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_Margin;
    public DataField qq_theBra_Name;
    public DataField qq_theBra_Supplier_Name;
    public DataField qq_theBra_Supplier_Phone;
    public DataField qq_theBra_cost;
    public DropList qq_theBra_Color;
    public GridField qq_GridField20;
    public GridField qq_maingrid;
    public GridField qq_theBra;
    public GridField qq_theBra_Supplier;
    public GridField qq_theBra_inner;
    public JButton qq_Find;
    public JButton qq_One;
    public JButton qq_save;
    public JCheckBox qq_theBra_frontHook;
    public JPanel Form;
    public JScrollPane qq_theBra_description_sp;
    public MultiLineTextField qq_theBra_description;
    public RadioList qq_theBra_Style;
    public TextGraphic qq_ClaspLbl;
    public TextGraphic qq_ColourLbl;
    public TextGraphic qq_DescriptionLbl;
    public TextGraphic qq_NameLbl1;
    public TextGraphic qq_NameLbl;
    public TextGraphic qq_PhoneLbl;
    public TextGraphic qq_PriceLbl;
    public TextGraphic qq_StyleLbl;

    /**
     * qq_Find: transformed from: qqds_PushButton
     * TagId=21
     * isInherited=FALSE
     */
    public JButton getqq_Find() {
        if (qq_Find == null) {
            qq_Find = PushButtonFactory.newInstance("Find", "Find");
            qq_Find.setVerifyInputWhenFocusTarget(true);
            WidthPolicy.set(qq_Find, Constants.SP_NATURAL);
            HeightPolicy.set(qq_Find, Constants.SP_NATURAL);
            qq_Find.setMinimumSize(new Dimension(34, 23));
        }
        return qq_Find;
    }

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

    /**
     * qq_save: transformed from: qqds_PushButton
     * TagId=18
     * isInherited=FALSE
     */
    public JButton getqq_save() {
        if (qq_save == null) {
            qq_save = PushButtonFactory.newInstance("save", "Save");
            DefaultButton.set(qq_save, true);
            qq_save.setVerifyInputWhenFocusTarget(true);
            WidthPolicy.set(qq_save, Constants.SP_NATURAL);
            HeightPolicy.set(qq_save, Constants.SP_NATURAL);
            qq_save.setMinimumSize(new Dimension(38, 23));
        }
        return qq_save;
    }

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

    /**
     * qq_One: transformed from: qqds_PushButton
     * TagId=29
     * isInherited=FALSE
     */
    public JButton getqq_One() {
        if (qq_One == null) {
            qq_One = PushButtonFactory.newInstance("One", "One");
            qq_One.setVerifyInputWhenFocusTarget(true);
            WidthPolicy.set(qq_One, Constants.SP_NATURAL);
            HeightPolicy.set(qq_One, Constants.SP_NATURAL);
            qq_One.setMinimumSize(new Dimension(34, 23));
        }
        return qq_One;
    }

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

    /**
     * qq_GridField20: transformed from: qqds_GridField
     * TagId=20
     * isInherited=FALSE
     * In forte this was a 3x1 grid field.
     * The cell margins are all 10 mils
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_GridField20Properties() {
        qq_GridField20.setCellTopMargin(5);
        qq_GridField20.setCellBottomMargin(5);
        qq_GridField20.setCellLeftMargin(5);
        qq_GridField20.setCellRightMargin(5);
        qq_GridField20.setCollapsed(true);
        qq_GridField20.setHeightPolicy(Constants.SP_NATURAL);
        qq_GridField20.setWidthPolicy(Constants.SP_NATURAL);
        qq_GridField20.setBackground(null);
    }

    public GridField getqq_GridField20() {
        if (qq_GridField20 == null) {
            qq_GridField20 = CompoundFieldFactory.newGridField("qq_GridField20", true);
            setqq_GridField20Properties();
            qq_GridField20.setMinimumSize(new Dimension(110, 24));
            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_DEFAULT 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_GridField20.add( getqq_One(), 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_DEFAULT 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_GridField20.add( getqq_Find(), 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_DEFAULT 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_GridField20.add( getqq_save(), qq_gbc2 );

        }
        return qq_GridField20;
    }

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

    /**
     * qq_theBra_Name: transformed from: qqds_DataField
     * TagId=14
     * isInherited=FALSE
     */
    public DataField getqq_theBra_Name() {
        if (qq_theBra_Name == null) {
            // Mask type: MK_NONE
            qq_theBra_Name = DataFieldFactory.newDataField("Name", 17, TextData.class, Constants.MK_NONE);
            qq_theBra_Name.setOriginalFormatText(null);
            qq_theBra_Name.setHorizontalAlignment(JTextField.LEFT);
            getBindingManager().bindComponent(qq_theBra_Name, "theBra.name");
            WidthPolicy.set(qq_theBra_Name, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_theBra_Name, Constants.SP_NATURAL);
            qq_theBra_Name.setMinimumSize(new Dimension(118, 19));
            qq_theBra_Name.setSize(new Dimension(118, 19));
        }
        return qq_theBra_Name;
    }

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

    /**
     * qq_theBra_Style: transformed from: qqds_RadioList
     * TagId=15
     * isInherited=FALSE
     */
    public RadioList getqq_theBra_Style() {
        if (qq_theBra_Style == null) {
            String[] names = {"Full cup", "Padded", "Half cup", "Demi"};
            qq_theBra_Style = ListFieldFactory.newRadioList(Constants.FO_VERTICAL, "", names, 1, Constants.LP_CONSTANT);
            Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
            elements.add( new ListElement( 1, names[0], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 2, names[1], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 3, names[2], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 4, names[3], ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            qq_theBra_Style.setName("Style");
            getBindingManager().bindComponent(qq_theBra_Style, "theBra.style", elements);
            if (qq_theBra_Style.getSelectedIndex() == -1)
                qq_theBra_Style.setSelectedIndex(0);
            // OPTIONAL UIutils.reloadLabelText(qq_theBra_Style, mcat);
        }
        return qq_theBra_Style;
    }

    public void setqq_theBra_Style(RadioList value) {
        RadioList oldValue = qq_theBra_Style;
        qq_theBra_Style = value;
        this.qq_Listeners.firePropertyChange("qq_theBra_Style", oldValue, value);
    }

    /**
     * qq_theBra_frontHook: transformed from: qqds_ToggleField
     * TagId=16
     * isInherited=FALSE
     */
    public JCheckBox getqq_theBra_frontHook() {
        if (qq_theBra_frontHook == null) {
            qq_theBra_frontHook = ToggleFieldFactory.newToggleField("Front hook", "frontHook");
            getBindingManager().bindComponent(qq_theBra_frontHook, "theBra.frontHook");
            // OPTIONAL UIutils.reloadLabelText(qq_theBra_frontHook, mcat);
        }
        return qq_theBra_frontHook;
    }

    public void setqq_theBra_frontHook(JCheckBox value) {
        JCheckBox oldValue = qq_theBra_frontHook;
        qq_theBra_frontHook = value;
        this.qq_Listeners.firePropertyChange("qq_theBra_frontHook", oldValue, value);
    }

    /**
     * qq_theBra_cost: transformed from: qqds_DataField
     * TagId=17
     * isInherited=FALSE
     */
    public DataField getqq_theBra_cost() {
        if (qq_theBra_cost == null) {
            // Mask type: MK_TEMPLATE
            // original Forte format string -->$#,##0.00<--
            this.qq_theBra_cost = DataFieldFactory.newDataField("cost", 14, "$#,##0.00", Double.TYPE);
            qq_theBra_cost.setOriginalFormatText("$#,##0.00");
            qq_theBra_cost.setHorizontalAlignment(JTextField.RIGHT);
            getBindingManager().bindComponent(qq_theBra_cost, "theBra.cost");
            WidthPolicy.set(qq_theBra_cost, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_theBra_cost, Constants.SP_NATURAL);
            qq_theBra_cost.setMinimumSize(new Dimension(100, 19));
            qq_theBra_cost.setSize(new Dimension(100, 19));
        }
        return qq_theBra_cost;
    }

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

    /**
     * qq_theBra_Color: transformed from: qqds_DropList
     * TagId=19
     * isInherited=FALSE
     */
    public DropList getqq_theBra_Color() {
        if (qq_theBra_Color == null) {
            Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
            elements.add( new ListElement( 1, "Red", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 2, "Black", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 3, "White", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
            elements.add( new ListElement( 4, "Ivory", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );

            qq_theBra_Color = DropFillinFactory.newDropList();
            qq_theBra_Color.setName("Color");
            getBindingManager().bindComponent(qq_theBra_Color, "theBra.color", elements);
            qq_theBra_Color.addActionListener( (DropListModel)qq_theBra_Color.getModel() );
            // OPTIONAL UIutils.reloadLabelText(qq_theBra_Color, mcat);
            qq_theBra_Color.setMaximumRowCount(4);
            WidthPolicy.set(qq_theBra_Color, Constants.SP_NATURAL);
            HeightPolicy.set(qq_theBra_Color, Constants.SP_NATURAL);
            qq_theBra_Color.setMinimumSize(new Dimension(62, 19));
        }
        return qq_theBra_Color;
    }

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

    /**
     * qq_theBra_description_sp: transformed from: qqds_TextField
     * TagId=22
     * isInherited=FALSE
     */
    public JScrollPane getqq_theBra_description_sp() {
        if (qq_theBra_description_sp == null) {
            qq_theBra_description_sp = CompoundFieldFactory.newScrollPane();
            qq_theBra_description_sp.setName("description");
            qq_theBra_description_sp.setViewportView(getqq_theBra_description());
            qq_theBra_description_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            qq_theBra_description_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
            WidthPolicy.set(qq_theBra_description_sp, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_theBra_description_sp, Constants.SP_EXPLICIT);
            qq_theBra_description_sp.setSize(new Dimension(178, 67));
            qq_theBra_description_sp.setMinimumSize(new Dimension(178, 67));
            qq_theBra_description_sp.setPreferredSize(new Dimension(178, 67));
        }
        return qq_theBra_description_sp;
    }

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

    /**
     * qq_theBra_description: transformed from: qqds_TextField
     * TagId=22
     * isInherited=FALSE
     */
    public MultiLineTextField getqq_theBra_description() {
        if (qq_theBra_description == null) {
            qq_theBra_description = TextEditFactory.newTextField("description", 4, 20);
            qq_theBra_description.setWrapStyleWord( true );
            qq_theBra_description.setLineWrap( true );
            getBindingManager().bindComponent(qq_theBra_description, "theBra.description");
            ExitOnTab.set(qq_theBra_description, true);
            WidthPolicy.set(qq_theBra_description, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_theBra_description, Constants.SP_EXPLICIT);
        }
        return qq_theBra_description;
    }

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

    /**
     * qq_NameLbl: transformed from: qqds_TextGraphic
     * TagId=31
     * isInherited=FALSE
     */
    public TextGraphic getqq_NameLbl() {
        if (qq_NameLbl == null) {
            qq_NameLbl = GraphicFactory.newTextGraphic("Name\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_NameLbl, mcat);
            WidthPolicy.set(qq_NameLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_NameLbl, Constants.SP_NATURAL);
            qq_NameLbl.setMinimumSize(new Dimension(34, 16));
        }
        return qq_NameLbl;
    }

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

    /**
     * qq_StyleLbl: transformed from: qqds_TextGraphic
     * TagId=32
     * isInherited=FALSE
     */
    public TextGraphic getqq_StyleLbl() {
        if (qq_StyleLbl == null) {
            qq_StyleLbl = GraphicFactory.newTextGraphic("Style\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_StyleLbl, mcat);
            WidthPolicy.set(qq_StyleLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_StyleLbl, Constants.SP_NATURAL);
            qq_StyleLbl.setMinimumSize(new Dimension(30, 16));
        }
        return qq_StyleLbl;
    }

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

    /**
     * qq_ClaspLbl: transformed from: qqds_TextGraphic
     * TagId=33
     * isInherited=FALSE
     */
    public TextGraphic getqq_ClaspLbl() {
        if (qq_ClaspLbl == null) {
            qq_ClaspLbl = GraphicFactory.newTextGraphic("Clasp\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_ClaspLbl, mcat);
            WidthPolicy.set(qq_ClaspLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_ClaspLbl, Constants.SP_NATURAL);
            qq_ClaspLbl.setMinimumSize(new Dimension(31, 16));
        }
        return qq_ClaspLbl;
    }

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

    /**
     * qq_DescriptionLbl: transformed from: qqds_TextGraphic
     * TagId=34
     * isInherited=FALSE
     */
    public TextGraphic getqq_DescriptionLbl() {
        if (qq_DescriptionLbl == null) {
            qq_DescriptionLbl = GraphicFactory.newTextGraphic("Description\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_DescriptionLbl, mcat);
            WidthPolicy.set(qq_DescriptionLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_DescriptionLbl, Constants.SP_NATURAL);
            qq_DescriptionLbl.setMinimumSize(new Dimension(60, 16));
        }
        return qq_DescriptionLbl;
    }

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

    /**
     * qq_PriceLbl: transformed from: qqds_TextGraphic
     * TagId=35
     * isInherited=FALSE
     */
    public TextGraphic getqq_PriceLbl() {
        if (qq_PriceLbl == null) {
            qq_PriceLbl = GraphicFactory.newTextGraphic("Price\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_PriceLbl, mcat);
            WidthPolicy.set(qq_PriceLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_PriceLbl, Constants.SP_NATURAL);
            qq_PriceLbl.setMinimumSize(new Dimension(29, 16));
        }
        return qq_PriceLbl;
    }

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

    /**
     * qq_ColourLbl: transformed from: qqds_TextGraphic
     * TagId=36
     * isInherited=FALSE
     */
    public TextGraphic getqq_ColourLbl() {
        if (qq_ColourLbl == null) {
            qq_ColourLbl = GraphicFactory.newTextGraphic("Colour\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_ColourLbl, mcat);
            WidthPolicy.set(qq_ColourLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_ColourLbl, Constants.SP_NATURAL);
            qq_ColourLbl.setMinimumSize(new Dimension(38, 16));
        }
        return qq_ColourLbl;
    }

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

    /**
     * qq_theBra_inner: transformed from: qqds_GridField
     * TagId=30
     * isInherited=FALSE
     * In forte this was a 2x6 grid field.
     * The cell margins are all 100 mils
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_theBra_innerProperties() {
        Caption.set(qq_theBra_inner, "Bra");
        FrameWeight.set(qq_theBra_inner, Constants.W_DEFAULT);
        qq_theBra_inner.setCellTopMargin(50);
        qq_theBra_inner.setCellBottomMargin(50);
        qq_theBra_inner.setCellLeftMargin(50);
        qq_theBra_inner.setCellRightMargin(50);
        qq_theBra_inner.setCollapsed(true);
        qq_theBra_inner.setHeightPolicy(Constants.SP_NATURAL);
        qq_theBra_inner.setWidthPolicy(Constants.SP_NATURAL);
        qq_theBra_inner.setBackground(null);
    }

    public GridField getqq_theBra_inner() {
        if (qq_theBra_inner == null) {
            qq_theBra_inner = CompoundFieldFactory.newGridField("inner", false);
            setqq_theBra_innerProperties();
            qq_theBra_inner.setMinimumSize(new Dimension(261, 317));
            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.NORTHEAST; // Gravity - original: CG_TOPRIGHT
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_theBra_inner.add( getqq_NameLbl(), 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.NORTHWEST; // Gravity - original: CG_TOPLEFT
            qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc1.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_theBra_inner.add( getqq_theBra_Name(), qq_gbc1 );

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

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

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

            GridBagConstraints qq_gbc5 = new GridBagConstraints();
            qq_gbc5.gridx = 1; // Column 2
            qq_gbc5.gridy = 2; // Row 3
            qq_gbc5.weightx = 0;
            qq_gbc5.weighty = 0;
            qq_gbc5.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
            qq_gbc5.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc5.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_theBra_inner.add( getqq_theBra_frontHook(), qq_gbc5 );

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

            GridBagConstraints qq_gbc7 = new GridBagConstraints();
            qq_gbc7.gridx = 1; // Column 2
            qq_gbc7.gridy = 3; // Row 4
            qq_gbc7.weightx = 0;
            qq_gbc7.weighty = 0;
            qq_gbc7.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
            qq_gbc7.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc7.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_theBra_inner.add( getqq_theBra_description_sp(), qq_gbc7 );

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

            GridBagConstraints qq_gbc9 = new GridBagConstraints();
            qq_gbc9.gridx = 1; // Column 2
            qq_gbc9.gridy = 4; // Row 5
            qq_gbc9.weightx = 0;
            qq_gbc9.weighty = 0;
            qq_gbc9.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
            qq_gbc9.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc9.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_theBra_inner.add( getqq_theBra_cost(), qq_gbc9 );

            GridBagConstraints qq_gbc10 = new GridBagConstraints();
            qq_gbc10.gridx = 0; // Column 1
            qq_gbc10.gridy = 5; // Row 6
            qq_gbc10.weightx = 0;
            qq_gbc10.weighty = 0;
            qq_gbc10.anchor = GridBagConstraints.NORTHEAST; // Gravity - original: CG_TOPRIGHT
            qq_gbc10.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc10.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_theBra_inner.add( getqq_ColourLbl(), qq_gbc10 );

            GridBagConstraints qq_gbc11 = new GridBagConstraints();
            qq_gbc11.gridx = 1; // Column 2
            qq_gbc11.gridy = 5; // Row 6
            qq_gbc11.weightx = 0;
            qq_gbc11.weighty = 0;
            qq_gbc11.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT
            qq_gbc11.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc11.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_theBra_inner.add( getqq_theBra_Color(), qq_gbc11 );

        }
        return qq_theBra_inner;
    }

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

    /**
     * qq_theBra_Supplier_Name: transformed from: qqds_DataField
     * TagId=38
     * isInherited=FALSE
     */
    public DataField getqq_theBra_Supplier_Name() {
        if (qq_theBra_Supplier_Name == null) {
            // Mask type: MK_NONE
            qq_theBra_Supplier_Name = DataFieldFactory.newDataField("Name", 16, Constants.MK_NONE);
            qq_theBra_Supplier_Name.setOriginalFormatText(null);
            qq_theBra_Supplier_Name.setHorizontalAlignment(JTextField.LEFT);
            getBindingManager().bindComponent(qq_theBra_Supplier_Name, "theBra.supplier.name");
            WidthPolicy.set(qq_theBra_Supplier_Name, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_theBra_Supplier_Name, Constants.SP_NATURAL);
            qq_theBra_Supplier_Name.setMinimumSize(new Dimension(117, 19));
            qq_theBra_Supplier_Name.setSize(new Dimension(117, 19));
        }
        return qq_theBra_Supplier_Name;
    }

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

    /**
     * qq_NameLbl1: transformed from: qqds_TextGraphic
     * TagId=39
     * isInherited=FALSE
     */
    public TextGraphic getqq_NameLbl1() {
        if (qq_NameLbl1 == null) {
            qq_NameLbl1 = GraphicFactory.newTextGraphic("Name\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_NameLbl1, mcat);
            WidthPolicy.set(qq_NameLbl1, Constants.SP_NATURAL);
            HeightPolicy.set(qq_NameLbl1, Constants.SP_NATURAL);
            qq_NameLbl1.setMinimumSize(new Dimension(34, 16));
        }
        return qq_NameLbl1;
    }

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

    /**
     * qq_PhoneLbl: transformed from: qqds_TextGraphic
     * TagId=40
     * isInherited=FALSE
     */
    public TextGraphic getqq_PhoneLbl() {
        if (qq_PhoneLbl == null) {
            qq_PhoneLbl = GraphicFactory.newTextGraphic("Phone\n", "");
            // OPTIONAL UIutils.reloadLabelText(qq_PhoneLbl, mcat);
            WidthPolicy.set(qq_PhoneLbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_PhoneLbl, Constants.SP_NATURAL);
            qq_PhoneLbl.setMinimumSize(new Dimension(37, 16));
        }
        return qq_PhoneLbl;
    }

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

    /**
     * qq_theBra_Supplier_Phone: transformed from: qqds_DataField
     * TagId=41
     * isInherited=FALSE
     */
    public DataField getqq_theBra_Supplier_Phone() {
        if (qq_theBra_Supplier_Phone == null) {
            // Mask type: MK_TEMPLATE
            try {
                MaskFormatter mf = new MaskFormatter("(###) ###-####");
                mf.setPlaceholderCharacter('_');
                mf.setValueContainsLiteralCharacters(false);
                qq_theBra_Supplier_Phone = DataFieldFactory.newDataField("Phone", 19, mf);
            } catch (ParseException e) {
                qq_theBra_Supplier_Phone = DataFieldFactory.newDataField("Phone", 19);
                Logger.getLogger("task.part.logmgr").error("Invalid mask specified for field: qq_theBra_Supplier_Phone, a default field will be generated", e);
            }
            qq_theBra_Supplier_Phone.setOriginalFormatText("\\(###\\) ###-####");
            qq_theBra_Supplier_Phone.setHorizontalAlignment(JTextField.LEFT);
            getBindingManager().bindComponent(qq_theBra_Supplier_Phone, "theBra.supplier.phone");
            WidthPolicy.set(qq_theBra_Supplier_Phone, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_theBra_Supplier_Phone, Constants.SP_NATURAL);
            qq_theBra_Supplier_Phone.setMinimumSize(new Dimension(136, 19));
            qq_theBra_Supplier_Phone.setSize(new Dimension(136, 19));
        }
        return qq_theBra_Supplier_Phone;
    }

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

    /**
     * qq_theBra_Supplier: transformed from: qqds_GridField
     * TagId=37
     * isInherited=FALSE
     * In forte this was a 2x2 grid field, displaying a Supplier object.
     * There are no cell margins set
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_theBra_SupplierProperties() {
        Caption.set(qq_theBra_Supplier, "Supplier");
        FrameWeight.set(qq_theBra_Supplier, Constants.W_DEFAULT);
        qq_theBra_Supplier.setCellGravity(Constants.CG_TOPLEFT);
        qq_theBra_Supplier.setCollapsed(true);
        qq_theBra_Supplier.setHeightPolicy(Constants.SP_NATURAL);
        qq_theBra_Supplier.setWidthPolicy(Constants.SP_NATURAL);
        qq_theBra_Supplier.setBackground(null);
    }

    public GridField getqq_theBra_Supplier() {
        if (qq_theBra_Supplier == null) {
            qq_theBra_Supplier = CompoundFieldFactory.newGridField("Supplier", false);
            getBindingManager().bindComponent(qq_theBra_Supplier, "theBra.supplier");
            setqq_theBra_SupplierProperties();
            qq_theBra_Supplier.setMinimumSize(new Dimension(177, 55));
            GridBagConstraints qq_gbc = new GridBagConstraints();
            qq_gbc.gridx = 0; // Column 1
            qq_gbc.gridy = 0; // Row 1
            qq_gbc.weightx = 0;
            qq_gbc.weighty = 0;
            qq_gbc.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT 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_theBra_Supplier.add( getqq_NameLbl1(), 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.NORTHWEST; // Gravity - original: CG_TOPLEFT 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_theBra_Supplier.add( getqq_theBra_Supplier_Name(), qq_gbc1 );

            GridBagConstraints qq_gbc2 = new GridBagConstraints();
            qq_gbc2.gridx = 0; // Column 1
            qq_gbc2.gridy = 1; // Row 2
            qq_gbc2.weightx = 0;
            qq_gbc2.weighty = 0;
            qq_gbc2.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT 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_theBra_Supplier.add( getqq_PhoneLbl(), qq_gbc2 );

            GridBagConstraints qq_gbc3 = new GridBagConstraints();
            qq_gbc3.gridx = 1; // Column 2
            qq_gbc3.gridy = 1; // Row 2
            qq_gbc3.weightx = 0;
            qq_gbc3.weighty = 0;
            qq_gbc3.anchor = GridBagConstraints.NORTHWEST; // Gravity - original: CG_TOPLEFT 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_theBra_Supplier.add( getqq_theBra_Supplier_Phone(), qq_gbc3 );

        }
        return qq_theBra_Supplier;
    }

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

    /**
     * qq_theBra: transformed from: qqds_GridField
     * TagId=13
     * isInherited=FALSE
     * In forte this was a 1x2 grid field, displaying a Bra object.
     * There are no cell margins set
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_theBraProperties() {
        qq_theBra.setCollapsed(true);
        qq_theBra.setHeightPolicy(Constants.SP_NATURAL);
        qq_theBra.setWidthPolicy(Constants.SP_NATURAL);
        qq_theBra.setBackground(null);
    }

    public GridField getqq_theBra() {
        if (qq_theBra == null) {
            qq_theBra = CompoundFieldFactory.newGridField("theBra", false);
            getBindingManager().bindComponent(qq_theBra, "theBra");
            setqq_theBraProperties();
            qq_theBra.setMinimumSize(new Dimension(261, 372));
            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_DEFAULT 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_theBra.add( getqq_theBra_inner(), qq_gbc );

            GridBagConstraints qq_gbc1 = new GridBagConstraints();
            qq_gbc1.gridx = 0; // Column 1
            qq_gbc1.gridy = 1; // Row 2
            qq_gbc1.weightx = 0;
            qq_gbc1.weighty = 0;
            qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_DEFAULT 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_theBra.add( getqq_theBra_Supplier(), qq_gbc1 );

        }
        return qq_theBra;
    }

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

    /**
     * qq_Margin: transformed from: qqds_DataField
     * TagId=51
     * isInherited=FALSE
     */
    public DataField getqq_Margin() {
        if (qq_Margin == null) {
            // Mask type: MK_NONE
            qq_Margin = DataFieldFactory.newDataField("Margin", 14, DecimalData.class, Constants.MK_NONE);
            qq_Margin.setOriginalFormatText(null);
            qq_Margin.setHorizontalAlignment(JTextField.RIGHT);
            getBindingManager().bindComponent(qq_Margin, "margin");
            WidthPolicy.set(qq_Margin, Constants.SP_EXPLICIT);
            HeightPolicy.set(qq_Margin, Constants.SP_NATURAL);
            qq_Margin.setMinimumSize(new Dimension(103, 19));
            qq_Margin.setSize(new Dimension(103, 19));
        }
        return qq_Margin;
    }

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

    /**
     * qq_maingrid: transformed from: qqds_GridField
     * TagId=12
     * isInherited=FALSE
     * In forte this was a 1x3 grid field.
     * The cell margins are all 100 mils
     * The width policy is set to Natural, and the height policy is set to Natural.
     */
    protected void setqq_maingridProperties() {
        qq_maingrid.setCellTopMargin(50);
        qq_maingrid.setCellBottomMargin(50);
        qq_maingrid.setCellLeftMargin(50);
        qq_maingrid.setCellRightMargin(50);
        qq_maingrid.setCollapsed(true);
        qq_maingrid.setHeightPolicy(Constants.SP_NATURAL);
        qq_maingrid.setWidthPolicy(Constants.SP_NATURAL);
        qq_maingrid.setBackground(null);
    }

    public GridField getqq_maingrid() {
        if (qq_maingrid == null) {
            qq_maingrid = CompoundFieldFactory.newGridField("maingrid", false);
            setqq_maingridProperties();
            qq_maingrid.setMinimumSize(new Dimension(280, 456));
            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_DEFAULT gf
            qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
            qq_gbc.insets = new Insets(4, 4, 4, 4); // Top, Left, Bottom, Right Margin
            qq_maingrid.add( getqq_theBra(), qq_gbc );

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

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

        }
        return qq_maingrid;
    }

    public void setqq_maingrid(GridField value) {
        GridField oldValue = qq_maingrid;
        qq_maingrid = value;
        this.qq_Listeners.firePropertyChange("qq_maingrid", 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_maingrid() );
        }
        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( "BraDefinition" );
            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(150);
            this.setInitialY(150);
            this.setInitialPositionPolicy(Constants.PP_PRIMARYRELATIVE);
        }
    }


    // ----------------
    //  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_maingrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_GridField20(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_Find(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_save(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_One(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_theBra(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_inner(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_Name(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_Style(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_frontHook(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_cost(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_Color(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_description(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_NameLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_StyleLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_ClaspLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_DescriptionLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PriceLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_ColourLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_theBra_Supplier(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_theBra_Supplier_Name(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_NameLbl1(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_PhoneLbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_theBra_Supplier_Phone(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_Margin(), 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();
                BraDefinition braDefinition_start = new BraDefinition();
                braDefinition_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 BraDefinition
// c Pass 2 Conversion Time: 578 milliseconds
TOP

Related Classes of win.BraDefinition$AsyncRunner

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.