From 7295bb4e6b5b256988a5d205b4aca956c109aaa3 Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Wed, 15 Sep 2004 22:13:36 +0000 Subject: deprecated frame.show() replaced --- test/jake2/client/GhostMouse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/jake2/client') 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 -- cgit v1.2.3