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:
@@ -92,7 +92,7 @@ public class NearestViz extends JPanel
|
||||
frame.getContentPane().add(new NearestViz(), BorderLayout.CENTER);
|
||||
frame.setSize(300, 300);
|
||||
SwingUtil.centerWindow(frame);
|
||||
frame.show();
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
protected float _theta = (float)(3 * Math.PI / 5);
|
||||
|
||||
@@ -104,7 +104,7 @@ public class WhichSideViz extends JPanel
|
||||
frame.getContentPane().add(new WhichSideViz(), BorderLayout.CENTER);
|
||||
frame.setSize(300, 300);
|
||||
SwingUtil.centerWindow(frame);
|
||||
frame.show();
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
protected float _theta = (float)(3 * Math.PI / 5);
|
||||
|
||||
Reference in New Issue
Block a user