aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon/Q2DataTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/qcommon/Q2DataTest.java')
-rw-r--r--src/jake2/qcommon/Q2DataTest.java15
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();
}
}