diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-11 16:11:29 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-11 16:11:29 +0000 |
commit | 81204d08006cb7cbdfb1f8782274accfd06042db (patch) | |
tree | 129cac397c7a7f7a7f58bdb343d3f92db9828b56 /toolkit/test | |
parent | aea8e37158cbed164f23750ea5e421a8f6aaec77 (diff) |
INTEGRATION: CWS vcl07 (1.3.2); FILE ADDED
2003/04/08 14:28:42 obr 1.3.2.1: re-added accessibility workbench
Diffstat (limited to 'toolkit/test')
-rw-r--r-- | toolkit/test/accessibility/EventLogger.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/toolkit/test/accessibility/EventLogger.java b/toolkit/test/accessibility/EventLogger.java new file mode 100644 index 000000000000..de0b8e6aee9d --- /dev/null +++ b/toolkit/test/accessibility/EventLogger.java @@ -0,0 +1,31 @@ +import javax.swing.JFrame; +import javax.swing.JScrollPane; + +class EventLogger +{ + public static synchronized EventLogger Instance () + { + if (maInstance == null) + maInstance = new EventLogger(); + return maInstance; + } + + private EventLogger () + { + try + { + maFrame = new JFrame (); + maLogger = new TextLogger (); + maFrame.setContentPane (new JScrollPane (maLogger)); + + maFrame.setSize (400,300); + maFrame.setVisible (true); + } + catch (Exception e) + {} + } + + private static EventLogger maInstance = null; + private JFrame maFrame; + private TextLogger maLogger; +} |