Package DataFieldTest

Source Code of DataFieldTest.StartClass

package DataFieldTest;

import DataFieldTest.Textfields;
import DisplayProject.actions.AppletConnectionInfo;
import DisplayProject.actions.UserWindow;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import DisplayProject.plaf.Win32LookAndFeel;
import Framework.ErrorMgr;
import Framework.ForteKeyboardFocusManager;
import Framework.FrameworkUtils;
import Framework.RuntimeProperties;
import java.awt.KeyboardFocusManager;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;
import javax.swing.UIManager;

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

    // ----------
    // Attributes
    // ----------
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);

    // ------------
    // Constructors
    // ------------
    public StartClass() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();

    }

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

    /**
     * startMethod<p>
     * <p>
     */
    public void startMethod() {
        Textfields textFieldWin = new Textfields();
        textFieldWin.display();
    }

    // -----------
    // 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();
            StartClass startClass_start = new StartClass();
            startClass_start.startMethod();
            UserWindow.postAPPLETStopped(client);
            System.exit(0);
        } catch (Throwable e) {
            ErrorMgr.showErrors(null, "Unhandled exception", e);
            UserWindow.postAPPLETStopped(client);
            System.exit(0);
        }
    }
// end class StartClass
// c Pass 2 Conversion Time: 32 milliseconds
TOP

Related Classes of DataFieldTest.StartClass

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.