diff options
author | Holger Zickner <[email protected]> | 2004-09-19 20:53:07 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-09-19 20:53:07 +0000 |
commit | 6da66036182ce83a2928a3c254c7fdab9a0ddc54 (patch) | |
tree | 9cecccd629172ede9d345c1719cc98e1285559a4 /src/jake2/qcommon/Q2DataDialog.java | |
parent | 783e388d83e1bd8d68d912463909eefdf3a34653 (diff) |
move test method
Diffstat (limited to 'src/jake2/qcommon/Q2DataDialog.java')
-rw-r--r-- | src/jake2/qcommon/Q2DataDialog.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/jake2/qcommon/Q2DataDialog.java b/src/jake2/qcommon/Q2DataDialog.java index 65d1f33..cf1a9fa 100644 --- a/src/jake2/qcommon/Q2DataDialog.java +++ b/src/jake2/qcommon/Q2DataDialog.java @@ -231,6 +231,19 @@ public class Q2DataDialog extends javax.swing.JDialog { status.setText(text); } + void testQ2Data() { + while (FS.LoadFile("pics/colormap.pcx") == null) { + showChooseDialog(); + + try { + synchronized(this) { + wait(); + } + } catch (InterruptedException e) {} + } + showStatus(); + } + static class Jake2Canvas extends Canvas { private Image image; Jake2Canvas() { |