aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2004-09-15 22:13:36 +0000
committerCarsten Weisse <[email protected]>2004-09-15 22:13:36 +0000
commit7295bb4e6b5b256988a5d205b4aca956c109aaa3 (patch)
treec327986db63c638f6667b9f39dfb87ef41981571 /test
parentaa2fc3a3dc6eddb41327afa0e1ff59c808bbc499 (diff)
deprecated frame.show() replaced
Diffstat (limited to 'test')
-rw-r--r--test/jake2/client/GhostMouse.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jake2/client/GhostMouse.java b/test/jake2/client/GhostMouse.java
index cc9b1af..f1da88d 100644
--- a/test/jake2/client/GhostMouse.java
+++ b/test/jake2/client/GhostMouse.java
@@ -19,7 +19,7 @@
*/
// Created on 07.01.2000 by RST.
-// $Id: GhostMouse.java,v 1.2 2004-09-15 22:10:00 cawe Exp $
+// $Id: GhostMouse.java,v 1.3 2004-09-15 22:13:36 cawe Exp $
package jake2.client;
import java.awt.Dimension;
@@ -44,6 +44,6 @@ public class GhostMouse {
frame.pack();
frame.setLocation((int) (size.getWidth() - frame.getWidth()) / 2,
(int) (size.getHeight() - frame.getHeight()) / 2);
- frame.show();
+ frame.setVisible(true);
}
} \ No newline at end of file