/* * Display an event (not a message) to the console or the GUI */ private void display(String msg) { String time = sdf.format(new Date()) + " " + msg; if (sg == null) System.out.println(time); else sg.appendEvent(time + "\n"); }