Beispiel #1
0
 public void whenThreadUpdated(MonaEvent event) {
   List<BbsData> data = event.getBbsDatum();
   for (int i = 0; i < data.size(); i++) {
     BbsData datum = data.get(i);
     // System.err.println(data.toStringAsFormated() + "\n");
     StringTokenizer lines = new StringTokenizer(datum.toStringAsFormated(), "\n");
     while (lines.hasMoreTokens()) {
       String line = lines.nextToken();
       this.lines.add(line);
     }
   }
 }
Beispiel #2
0
 public void whenMessageUpdated(MonaEvent event) {
   status = event.getMessage();
 }