コード例 #1
0
 @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);
 }
コード例 #2
0
 @Override
 public void notice(String notice) {
   if (USERNAME == null) {
     serverTalkLabel.setText(notice);
   }
   consolePanel.p(notice);
 }
コード例 #3
0
 @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);
   }
 }
コード例 #4
0
 @Override
 public void info(String info) {
   consolePanel.p(info);
 }