Random cleanup I had kicking around
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@833 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -42,10 +42,10 @@ public class SoundTestApp
|
||||
|
||||
public void run ()
|
||||
{
|
||||
for (int ii = 0; ii < _keys.length; ii++) {
|
||||
System.out.println("Playing " + _keys[ii] + ".");
|
||||
for (String _key : _keys) {
|
||||
System.out.println("Playing " + _key + ".");
|
||||
_soundmgr.play(JavaSoundPlayer.DEFAULT,
|
||||
"com/threerings/media/sound/", _keys[ii]);
|
||||
"com/threerings/media/sound/", _key);
|
||||
}
|
||||
_soundmgr.shutdown();
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public class ScrollingFrame extends ManagedJFrame
|
||||
// if we had an old panel, remove it
|
||||
if (_panel != null) {
|
||||
getContentPane().remove(_panel);
|
||||
}
|
||||
}
|
||||
|
||||
// now add the new one
|
||||
_panel = panel;
|
||||
|
||||
@@ -76,7 +76,7 @@ public class ViewerFrame extends ManagedJFrame
|
||||
// if we had an old panel, remove it
|
||||
if (_panel != null) {
|
||||
getContentPane().remove(_panel);
|
||||
}
|
||||
}
|
||||
|
||||
// now add the new one
|
||||
_panel = panel;
|
||||
|
||||
Reference in New Issue
Block a user