Package org.jcsp.awt

Examples of org.jcsp.awt.ActiveFrame


        this.messageConfigure = messageConfigure;
    }

    public void run() {
        System.out.println("No service client user interface started ");
        final ActiveFrame root = new ActiveFrame(null, responseEvent, "JK Meeting Service");
        root.setSize(320, 480);
        root.setLayout(new BorderLayout());
        final ActiveLabel message = new ActiveLabel(messageConfigure, "                         ");
        final ActiveButton retry = new ActiveButton(null, responseEvent, "Retry");
        final ActiveButton close = new ActiveButton(null, responseEvent, "Close");
        root.add(message, BorderLayout.NORTH);
        root.add(retry, BorderLayout.CENTER);
        root.add(close, BorderLayout.SOUTH);
        root.pack();
        System.out.println("NSCUI:  packed");
        root.setVisible(true);
        System.out.println("NSCUI:  setvisible");
        final CSProcess[] network = {
                message,
                retry,
                close
View Full Code Here

TOP

Related Classes of org.jcsp.awt.ActiveFrame

Copyright © 2018 www.massapicom. 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.