Window.show() is deprecated in jdk 1.5, replaced with setVisible(true).

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2965 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2004-02-22 18:55:26 +00:00
parent bfe9cbba04
commit 796c953c89
4 changed files with 8 additions and 8 deletions
@@ -1,5 +1,5 @@
//
// $Id: RecolorImage.java,v 1.3 2003/01/08 04:09:03 mdb Exp $
// $Id: RecolorImage.java,v 1.4 2004/02/22 18:55:26 ray Exp $
package com.threerings.media.tools;
@@ -229,7 +229,7 @@ public class RecolorImage extends JPanel
frame.getContentPane().add(panel, BorderLayout.CENTER);
frame.setSize(600, 600);
SwingUtil.centerWindow(frame);
frame.show();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace(System.err);
@@ -1,5 +1,5 @@
//
// $Id: MiCasaApp.java,v 1.11 2004/01/24 05:58:16 mdb Exp $
// $Id: MiCasaApp.java,v 1.12 2004/02/22 18:55:26 ray Exp $
package com.threerings.micasa.client;
@@ -48,7 +48,7 @@ public class MiCasaApp
// position everything and show the frame
_frame.setSize(800, 600);
SwingUtil.centerWindow(_frame);
_frame.show();
_frame.setVisible(true);
Client client = _client.getContext().getClient();
@@ -1,5 +1,5 @@
//
// $Id: SimulatorApp.java,v 1.14 2003/12/10 03:31:41 mdb Exp $
// $Id: SimulatorApp.java,v 1.15 2004/02/22 18:55:26 ray Exp $
package com.threerings.micasa.simulator.client;
@@ -98,7 +98,7 @@ public class SimulatorApp
// position everything and show the frame
frame.setSize(800, 600);
SwingUtil.centerWindow(frame);
frame.show();
frame.setVisible(true);
// start up the client
Client client = _client.getParlorContext().getClient();
@@ -1,5 +1,5 @@
//
// $Id: MisoScenePanel.java,v 1.57 2004/01/12 05:53:59 mdb Exp $
// $Id: MisoScenePanel.java,v 1.58 2004/02/22 18:55:26 ray Exp $
package com.threerings.miso.client;
@@ -364,7 +364,7 @@ public class MisoScenePanel extends VirtualMediaPanel
_dframe = new JFrame("Scene block resolver");
_dframe.setContentPane(_dpanel);
_dframe.pack();
_dframe.show();
_dframe.setVisible(true);
}
}