@Override public void leaveNotice(String who, String from, String context) { consolePanel.p(who + " left " + from); peepLists.get(from).removeEntry(who); if (currentConvo != null && currentConvo.equals(from)) peepListPane.setViewportView(peepLists.get(from).PANEL); }
@Override public void notice(String notice) { if (USERNAME == null) { serverTalkLabel.setText(notice); } consolePanel.p(notice); }
@Override public void joinNotice(String who, String where, String context) { consolePanel.p(who + " joined " + where); EntryPanel peepList = peepLists.get(where); if (peepList != null) { peepList.addEntry(who); if (currentConvo != null && currentConvo.equals(where)) peepListPane.setViewportView(peepLists.get(where).PANEL); } }
@Override public void info(String info) { consolePanel.p(info); }