Package org.jcsp.awt

Examples of org.jcsp.awt.ActiveButton


    public void run() {
        final ActiveClosingFrame root = new ActiveClosingFrame("Jon's Meeting Service");
        final Frame mainFrame = root.getActiveFrame();
        mainFrame.setSize(320, 480);
        mainFrame.setLayout(new BorderLayout());
        final ActiveButton newButton = new ActiveButton(null, buttonEvent, "Create New Meeting");
        final ActiveButton findButton = new ActiveButton(null, buttonEvent, "Find Existing Meeting");
        final Container buttonContainer = new Container();
        buttonContainer.setSize(320, 480);
        buttonContainer.setLayout(new GridLayout(2, 1));
        buttonContainer.add(newButton);
        buttonContainer.add(findButton);
View Full Code Here


        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");
View Full Code Here

TOP

Related Classes of org.jcsp.awt.ActiveButton

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.