Package com.valhalla.jbother

Examples of com.valhalla.jbother.ConversationPanel


        com.valhalla.Logger.debug("Switching to non-ICQ style interface");

        Vector panels = MessageDelegator.getInstance().getPanels();
        Iterator i = panels.iterator();
        while (i.hasNext()) {
            ConversationPanel panel = (ConversationPanel) i.next();

            JFrame frame = panel.getContainingFrame();

            if (frame == null)
                continue;
            boolean visible = frame.isVisible();
            frame.dispose();

            panel.setContainingFrame(null);
            if (visible)
                BuddyList.getInstance().addTabPanel(panel);
        }
    }
View Full Code Here


        com.valhalla.Logger.debug("Switching to ICQ style interface...");

        Vector panels = MessageDelegator.getInstance().getPanels();
        Iterator i = panels.iterator();
        while (i.hasNext()) {
            ConversationPanel panel = (ConversationPanel) i.next();
            if (BuddyList.getInstance().getTabFrame() != null
                    && BuddyList.getInstance().getTabFrame().contains(panel)) {
                BuddyList.getInstance().removeTabPanel(panel);

                com.valhalla.Logger.debug("creating frame for " + panel);
                panel.createFrame();
                panel.getContainingFrame().setVisible(true);
            }
        }
    }
View Full Code Here

                    }
                }

                // update the relavent presence information
                if (presence.getType() == Presence.Type.UNAVAILABLE ) {
                    ConversationPanel conv = buddy.getConversation();
                    if ((conv != null) && (conv instanceof ChatPanel))
                        ((ChatPanel) conv).signedOff();

                } else {
                    buddy.addResource("_no resource_", 5, presence.getMode(),
View Full Code Here

TOP

Related Classes of com.valhalla.jbother.ConversationPanel

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.