Package Inherited

Source Code of Inherited.Russian

package Inherited;

import DisplayProject.Constants;
import DisplayProject.CursorMgr;
import DisplayProject.GridField;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowManager;
import DisplayProject.WindowUsageMap;
import DisplayProject.actions.HeightPolicy;
import DisplayProject.actions.UserWindow;
import DisplayProject.actions.WidthPolicy;
import DisplayProject.binding.BindingManager;
import DisplayProject.binding.beans.Observable;
import DisplayProject.controls.Line;
import DisplayProject.controls.PictureGraphic;
import DisplayProject.controls.TextGraphic;
import DisplayProject.events.ClientEventManager;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.GraphicFactory;
import DisplayProject.factory.ToggleFieldFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import Framework.EventHandle;
import Framework.EventManager;
import Framework.EventRegistration;
import Framework.ForteKeyboardFocusManager;
import Framework.ImageData;
import Framework.RuntimeProperties;
import Inherited.WhiteRussian;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.KeyboardFocusManager;
import java.io.Serializable;
import javax.swing.ImageIcon;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;
import javax.swing.SwingConstants;
import javax.swing.ToolTipManager;
import javax.swing.UIManager;

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

    // ----------
    // Attributes
    // ----------
    protected BindingManager bindingManager = null;

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

    }

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

    // -------
    // Methods
    // -------
    /**
     * display<p>
     * <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;
    public GridField qq_GridField131086;
    public GridField qq_GridField131087;
    public GridField qq_GridField131088;
    public GridField qq_GridField131089;
    public GridField qq_GridField131090;
    public GridField qq_GridField131091;
    public JCheckBox qq_JCheckBox131092;
    public JScrollPane qq_vp;
    public PictureGraphic qq_ruski;
    public TextGraphic qq_SomeText2Lbl;

    /**
     * qq_aLine: transformed from: qqds_Line
     * TagId=12
     * isInherited=TRUE
     */
    public Line getqq_aLine() {
        if (qq_aLine == null) {
            super.getqq_aLine();
            qq_aLine.setName("aLine");
            qq_aLine.setStartX(50);
            qq_aLine.setEndX(1942);
            qq_aLine.setStartY(50);
            qq_aLine.setEndY(100);
            qq_aLine.setOpaque( true );
        }
        return qq_aLine;
    }

    public void setqq_aLine(Line value) {
        Line oldValue = qq_aLine;
        qq_aLine = value;
        this.qq_Listeners.firePropertyChange("qq_aLine", oldValue, value);
    }

    /**
     * qq_GridField131091: transformed from: qqds_GridField
     * TagId=131091
     * isInherited=FALSE
     * In forte this was a 1x1 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_GridField131091Properties() {
        qq_GridField131091.setCollapsed(true);
        qq_GridField131091.setHeightPolicy(Constants.SP_NATURAL);
        qq_GridField131091.setWidthPolicy(Constants.SP_NATURAL);
        qq_GridField131091.setBackground(null);
    }

    public GridField getqq_GridField131091() {
        if (qq_GridField131091 == null) {
            qq_GridField131091 = CompoundFieldFactory.newGridField("qq_GridField131091", true);
            setqq_GridField131091Properties();
            qq_GridField131091.setMinimumSize(new Dimension(195, 18));
            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_GridField131091.add( getqq_aLine(), qq_gbc );

        }
        return qq_GridField131091;
    }

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

    /**
     * qq_JCheckBox131092: transformed from: qqds_ToggleField
     * TagId=131092
     * isInherited=FALSE
     */
    public JCheckBox getqq_JCheckBox131092() {
        if (qq_JCheckBox131092 == null) {
            qq_JCheckBox131092 = ToggleFieldFactory.newToggleField("White Russian 2", "");
            // OPTIONAL UIutils.reloadLabelText(qq_JCheckBox131092, mcat);
        }
        return qq_JCheckBox131092;
    }

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

    /**
     * qq_GridField131090: transformed from: qqds_GridField
     * TagId=131090
     * isInherited=FALSE
     * In forte this was a 1x2 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_GridField131090Properties() {
        qq_GridField131090.setCollapsed(true);
        qq_GridField131090.setHeightPolicy(Constants.SP_NATURAL);
        qq_GridField131090.setWidthPolicy(Constants.SP_NATURAL);
        qq_GridField131090.setBackground(null);
    }

    public GridField getqq_GridField131090() {
        if (qq_GridField131090 == null) {
            qq_GridField131090 = CompoundFieldFactory.newGridField("qq_GridField131090", true);
            setqq_GridField131090Properties();
            qq_GridField131090.setMinimumSize(new Dimension(198, 42));
            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_GridField131090.add( getqq_GridField131091(), 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_GridField131090.add( getqq_JCheckBox131092(), qq_gbc1 );

        }
        return qq_GridField131090;
    }

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

    /**
     * qq_GridField131089: transformed from: qqds_GridField
     * TagId=131089
     * isInherited=FALSE
     * In forte this was a 1x1 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_GridField131089Properties() {
        qq_GridField131089.setCollapsed(true);
        qq_GridField131089.setHeightPolicy(Constants.SP_NATURAL);
        qq_GridField131089.setWidthPolicy(Constants.SP_NATURAL);
        qq_GridField131089.setBackground(null);
    }

    public GridField getqq_GridField131089() {
        if (qq_GridField131089 == null) {
            qq_GridField131089 = CompoundFieldFactory.newGridField("qq_GridField131089", true);
            setqq_GridField131089Properties();
            qq_GridField131089.setMinimumSize(new Dimension(201, 45));
            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_GridField131089.add( getqq_GridField131090(), qq_gbc );

        }
        return qq_GridField131089;
    }

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

    /**
     * qq_SomeText2Lbl: transformed from: qqds_TextGraphic
     * TagId=131093
     * isInherited=FALSE
     */
    public TextGraphic getqq_SomeText2Lbl() {
        if (qq_SomeText2Lbl == null) {
            qq_SomeText2Lbl = GraphicFactory.newTextGraphic("Some text 2\n", "");
            qq_SomeText2Lbl.setHorizontalAlignment( SwingConstants.LEFT );
            // OPTIONAL UIutils.reloadLabelText(qq_SomeText2Lbl, mcat);
            WidthPolicy.set(qq_SomeText2Lbl, Constants.SP_NATURAL);
            HeightPolicy.set(qq_SomeText2Lbl, Constants.SP_NATURAL);
            qq_SomeText2Lbl.setMinimumSize(new Dimension(67, 16));
        }
        return qq_SomeText2Lbl;
    }

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

    /**
     * qq_GridField131088: transformed from: qqds_GridField
     * TagId=131088
     * isInherited=FALSE
     * In forte this was a 1x2 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_GridField131088Properties() {
        qq_GridField131088.setCollapsed(true);
        qq_GridField131088.setHeightPolicy(Constants.SP_NATURAL);
        qq_GridField131088.setWidthPolicy(Constants.SP_NATURAL);
        qq_GridField131088.setBackground(null);
    }

    public GridField getqq_GridField131088() {
        if (qq_GridField131088 == null) {
            qq_GridField131088 = CompoundFieldFactory.newGridField("qq_GridField131088", true);
            setqq_GridField131088Properties();
            qq_GridField131088.setMinimumSize(new Dimension(204, 66));
            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_GridField131088.add( getqq_GridField131089(), 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_GridField131088.add( getqq_SomeText2Lbl(), qq_gbc1 );

        }
        return qq_GridField131088;
    }

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

    /**
     * qq_ruski: transformed from: qqds_PictureGraphic
     * TagId=131085
     * isInherited=FALSE
     */
    public PictureGraphic getqq_ruski() {
        if (qq_ruski == null) {
            qq_ruski = GraphicFactory.newPictureGraphic("", Constants.CG_CENTER);
            qq_ruski.setImageValue(new ImageData(new ImageIcon(Russian.class.getResource("Russian.qq_ruski.png"))));
            qq_ruski.setWidthPolicy(Constants.SP_NATURAL);
            qq_ruski.setHeightPolicy(Constants.SP_NATURAL);
            qq_ruski.setImageSizePolicy(Constants.IS_NATURAL);
            qq_ruski.setOpaque( true );
            qq_ruski.setSize(new Dimension(240, 319));
            qq_ruski.setMinimumSize(new Dimension(240, 319));
            qq_ruski.setPreferredSize(new Dimension(240, 319));
            qq_ruski.setLocation(0, 0);
        }
        return qq_ruski;
    }

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

    /**
     * qq_vp: transformed from: qqds_Viewport
     * TagId=131084
     * isInherited=FALSE
     */
    public JScrollPane getqq_vp() {
        if (qq_vp == null) {
            qq_vp = CompoundFieldFactory.newViewPort("qq_vp");
            qq_vp.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
            qq_vp.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
            WidthPolicy.set(qq_vp, Constants.SP_TO_PARENT);
            HeightPolicy.set(qq_vp, Constants.SP_TO_PARENT);
            qq_vp.setSize(new Dimension(204, 192));
            qq_vp.setMinimumSize(new Dimension(204, 192));
            qq_vp.setPreferredSize(new Dimension(204, 192));
            qq_vp.setViewportView( getqq_ruski() );
        }
        return qq_vp;
    }

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

    /**
     * qq_outer: transformed from: qqds_GridField
     * TagId=65548
     * isInherited=TRUE
     * In forte this was a 1x2 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_outerProperties() {
        super.setqq_outerProperties();
        qq_outer.setHeightPolicy(Constants.SP_NATURAL);
        qq_outer.setWidthPolicy(Constants.SP_NATURAL);
        qq_outer.setBackground(null);
    }

    public GridField getqq_outer() {
        if (qq_outer == null) {
            qq_outer = CompoundFieldFactory.newGridField("outer", false);
            setqq_outerProperties();
            qq_outer.setMinimumSize(new Dimension(208, 262));
            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_outer.add( getqq_GridField131088(), 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.BOTH; // Size to parent - original: H & W = SP_TO_PARENT
            qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
            qq_outer.add( getqq_vp(), qq_gbc1 );

        }
        return qq_outer;
    }

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

    /**
     * qq_GridField131087: transformed from: qqds_GridField
     * TagId=131087
     * isInherited=FALSE
     * In forte this was a 1x1 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_GridField131087Properties() {
        qq_GridField131087.setCollapsed(true);
        qq_GridField131087.setHeightPolicy(Constants.SP_NATURAL);
        qq_GridField131087.setWidthPolicy(Constants.SP_NATURAL);
        qq_GridField131087.setBackground(null);
    }

    public GridField getqq_GridField131087() {
        if (qq_GridField131087 == null) {
            qq_GridField131087 = CompoundFieldFactory.newGridField("qq_GridField131087", true);
            setqq_GridField131087Properties();
            qq_GridField131087.setMinimumSize(new Dimension(211, 265));
            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_GridField131087.add( getqq_outer(), qq_gbc );

        }
        return qq_GridField131087;
    }

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

    /**
     * qq_GridField131086: transformed from: qqds_GridField
     * TagId=131086
     * isInherited=FALSE
     * In forte this was a 1x1 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_GridField131086Properties() {
        qq_GridField131086.setCollapsed(true);
        qq_GridField131086.setHeightPolicy(Constants.SP_NATURAL);
        qq_GridField131086.setWidthPolicy(Constants.SP_NATURAL);
        qq_GridField131086.setBackground(null);
        qq_GridField131086.setLocation(8, 0);
    }

    public GridField getqq_GridField131086() {
        if (qq_GridField131086 == null) {
            qq_GridField131086 = CompoundFieldFactory.newGridField("qq_GridField131086", true);
            setqq_GridField131086Properties();
            qq_GridField131086.setMinimumSize(new Dimension(214, 268));
            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_GridField131086.add( getqq_GridField131087(), qq_gbc );

        }
        return qq_GridField131086;
    }

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

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

    public JPanel getForm() {
        if (Form == null) {
            Form = CompoundFieldFactory.newForm();
            this.setFormProperties();
            Form.add( getqq_GridField131086() );
        }
        return Form;
    }

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

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

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

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

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

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

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



    /**
     * Initialise the window and all its children.
     */
    protected void initialize() {
        if (this.Form == null) {
            this.setName( "Russian" );
            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
    //-----------------
    public void qq_setupWindowUsage() {
        this.usage = new WindowUsageMap();
        this.usage.add(getqq_GridField131086(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_GridField131087(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_outer(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_GridField131088(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_GridField131089(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_GridField131090(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_GridField131091(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_aLine(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_JCheckBox131092(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_SomeText2Lbl(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
        this.usage.add(getqq_vp(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
        this.usage.add(getqq_ruski(), Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
    }
    // </editor-fold>

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

Related Classes of Inherited.Russian

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.