1 import javax
.swing
.JFrame
;
2 import javax
.swing
.JScrollPane
;
6 public static synchronized EventLogger
Instance ()
8 if (maInstance
== null)
9 maInstance
= new EventLogger();
13 private EventLogger ()
17 maFrame
= new JFrame ();
18 maLogger
= new TextLogger ();
19 maFrame
.setContentPane (new JScrollPane (maLogger
));
21 maFrame
.setSize (400,300);
22 maFrame
.setVisible (true);
28 private static EventLogger maInstance
= null;
29 private JFrame maFrame
;
30 private TextLogger maLogger
;