diff options
author | Carsten Weisse <[email protected]> | 2004-09-15 22:13:36 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2004-09-15 22:13:36 +0000 |
commit | 7295bb4e6b5b256988a5d205b4aca956c109aaa3 (patch) | |
tree | c327986db63c638f6667b9f39dfb87ef41981571 /test/jake2 | |
parent | aa2fc3a3dc6eddb41327afa0e1ff59c808bbc499 (diff) |
deprecated frame.show() replaced
Diffstat (limited to 'test/jake2')
-rw-r--r-- | test/jake2/client/GhostMouse.java | 4 |
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 |