Package org.jcsp.awt

Examples of org.jcsp.awt.ActiveTextEnterField


        // north is the user input container
        final Container inputContainer = new Container();
        inputContainer.setLayout(new GridLayout(2, 2));
        final ActiveLabel nameLabel = new ActiveLabel("Meeting Name");
        final ActiveLabel locationLabel = new ActiveLabel("Meeting Location");
        final ActiveTextEnterField nameField = new ActiveTextEnterField(null, meetingNameEventOutput);
        final ActiveTextEnterField locationField = new ActiveTextEnterField(null, meetingLocationEventOutput);
        inputContainer.add(nameLabel);
        inputContainer.add(locationLabel);
        inputContainer.add(nameField.getActiveTextField());
        inputContainer.add(locationField.getActiveTextField());
        root.add(inputContainer, BorderLayout.NORTH);
        // center is the server response container
        final Container responseContainer = new Container();
        responseContainer.setLayout(new GridLayout(2, 2));
        final ActiveLabel registeredLabel = new ActiveLabel(registeredConfigureInput);
View Full Code Here


        root.setSize(320, 480);
        // north is the user input container
        final Container inputContainer = new Container();
        inputContainer.setLayout(new GridLayout(2, 1));
        final ActiveLabel nameLabel = new ActiveLabel("Meeting Name");
        final ActiveTextEnterField nameField = new ActiveTextEnterField(null, meetingNameEventOutput);
        inputContainer.add(nameLabel);
        inputContainer.add(nameField.getActiveTextField());
        root.add(inputContainer, BorderLayout.NORTH);
        // center is the server response container
        final Container responseContainer = new Container();
        responseContainer.setLayout(new GridLayout(2, 2));
        final ActiveLabel registeredLabel = new ActiveLabel(registeredConfigureInput);
View Full Code Here

TOP

Related Classes of org.jcsp.awt.ActiveTextEnterField

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.