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);