Package com.cellasoft.jchat.utils

Examples of com.cellasoft.jchat.utils.CloseTabButton


    public ChatArea addPrivateArea(MobileServer builder) throws RemoteException {
        String nick = builder.getUsername();
        ChatArea area = new ChatArea(htmlKit);
        area.setEditable(false);
        tabbedPane.add(nick, new JScrollPane(area));
        new CloseTabButton(tabbedPane, tabbedPane.getTabCount() - 1);
        tabbedPane.setSelectedIndex(tabbedPane.getTabCount() - 1);
        inputTF.grabFocus();
        return area;
    }
View Full Code Here


    public ChatArea addPrivateArea(MobileServer builder) throws RemoteException {
        String nick = builder.getUsername();
        ChatArea area = new ChatArea(htmlKit);
        area.setEditable(false);
        tabbedPane.add(nick, new JScrollPane(area));
        new CloseTabButton(tabbedPane, tabbedPane.getTabCount() - 1);
        tabbedPane.setSelectedIndex(tabbedPane.getTabCount() - 1);
        inputTF.grabFocus();
        return area;
    }
View Full Code Here

TOP

Related Classes of com.cellasoft.jchat.utils.CloseTabButton

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.