Example #1
0
 private static void error(String error) {
   if (gui == null) {
     System.err.println(error);
   } else {
     gui.setStatus(error);
   }
 }
Example #2
0
 private static void status(String status) {
   if (gui == null) {
     System.out.println(status);
   } else {
     gui.setStatus(status);
   }
 }