Package com.jcloisterzone.ui.controls

Examples of com.jcloisterzone.ui.controls.ChatPanel


        gamePanel.getGridPanel().setSecondPanel(null);
    }

    @Subscribe
    public void chatMessageReceived(ChatEvent ev) {
        ChatPanel chatPanel = gamePanel.getChatPanel();
        if (chatPanel != null) {
            chatPanel.displayChatMessage(ev);
        }
    }
View Full Code Here


        chatBox.setBackground(Color.WHITE);
        MigLayout chatBoxLayout = new MigLayout("", "[grow]", "[grow][]");
        chatBox.setLayout(chatBoxLayout);
        chatColumn.add(chatBox, "cell 0 1, grow");

        chatPanel = new ChatPanel(client, game);
        chatPanel.registerSwingComponents(chatBox);
        chatBoxLayout.setComponentConstraints(chatPanel.getMessagesPane(), "cell 0 0, align 0% 100%");
        chatBoxLayout.setComponentConstraints(chatPanel.getInput(), "cell 0 1, growx");
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.ui.controls.ChatPanel

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.