diff options
author | Holger Zickner <[email protected]> | 2004-09-19 19:53:51 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-09-19 19:53:51 +0000 |
commit | 0c42216204e5ec7c9b6a9bf143aa9fb069998fa0 (patch) | |
tree | 64cc5d31096a37413752951d16f1fe9e20533752 /src/jake2/qcommon/Q2DataTest.java | |
parent | 1c1d51f84701813daa86ec4f7aa1df97a5ce09c1 (diff) |
splash screen with status messages
Diffstat (limited to 'src/jake2/qcommon/Q2DataTest.java')
-rw-r--r-- | src/jake2/qcommon/Q2DataTest.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/jake2/qcommon/Q2DataTest.java b/src/jake2/qcommon/Q2DataTest.java index 9d76b0e..5606b99 100644 --- a/src/jake2/qcommon/Q2DataTest.java +++ b/src/jake2/qcommon/Q2DataTest.java @@ -2,10 +2,12 @@ * Q2DataTest.java * Copyright Bytonic Software (C) 2004 * - * $Id: Q2DataTest.java,v 1.1 2004-09-18 12:36:53 hzi Exp $ + * $Id: Q2DataTest.java,v 1.2 2004-09-19 19:53:51 hzi Exp $ */ package jake2.qcommon; +import jake2.Jake2; + /** * Q2DataTest */ @@ -13,11 +15,14 @@ public class Q2DataTest { static void run() { while (FS.LoadFile("pics/colormap.pcx") == null) { - Q2DataDialog d = new Q2DataDialog(null, true); - d.setVisible(true); + Jake2.Q2Dialog.showChooseDialog(); + try { - d.wait(); - } catch (Exception e) {} + synchronized(Jake2.Q2Dialog) { + Jake2.Q2Dialog.wait(); + } + } catch (InterruptedException e) {} } + Jake2.Q2Dialog.showStatus(); } } |