359360361362363364365366367368369
ChatWindow chatWindow = new ChatWindow(topShell,username,jid,null, presence.getType(), presence.getMode(),statusInfo,listener); // new ChatWindow().open(); chatWindowMap.put(username, chatWindow); chatWindow.open(); } } @Override