Fixed a bunch of deprecated bits and added some type-safety.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@305 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -134,7 +134,7 @@ public class CharSpriteViz extends JPanel
|
||||
BorderLayout.CENTER);
|
||||
frame.setSize(200, 200);
|
||||
SwingUtil.centerWindow(frame);
|
||||
frame.show();
|
||||
frame.setVisible(true);
|
||||
|
||||
} catch (NoSuchComponentException nsce) {
|
||||
System.err.println("No component with specified class " +
|
||||
|
||||
@@ -58,7 +58,7 @@ public class TestApp
|
||||
public void run ()
|
||||
{
|
||||
_frame.pack();
|
||||
_frame.show();
|
||||
_frame.setVisible(true);
|
||||
}
|
||||
|
||||
public static void main (String[] args)
|
||||
|
||||
Reference in New Issue
Block a user