Config -> PrefsConfig; avoid matching a deprecated method.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@162 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-01-31 00:50:18 +00:00
parent f139e30daa
commit 525cffcf5a
2 changed files with 7 additions and 7 deletions
@@ -22,6 +22,7 @@
package com.threerings.puzzle.client;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics2D;
@@ -272,7 +273,7 @@ public abstract class PuzzleBoardView extends VirtualMediaPanel
String score, Color color, Font font, int x, int y)
{
return createScoreAnimation(
ScoreAnimation.createLabel(score, color, font, this), x, y);
ScoreAnimation.createLabel(score, color, font, (Component)this), x, y);
}
/**
@@ -21,15 +21,14 @@
package com.threerings.puzzle.client;
import com.samskivert.util.Config;
import com.samskivert.util.PrefsConfig;
/**
* Provides access to runtime configuration parameters for this package
* and its subpackages.
* Provides access to runtime configuration parameters for this package and its subpackages.
*/
public class PuzzlePrefs
{
/** Used to load our preferences from a properties file and map them
* to the persistent Java preferences repository. */
public static Config config = new Config("rsrc/config/puzzle");
/** Used to load our preferences from a properties file and map them to the persistent Java
* preferences repository. */
public static PrefsConfig config = new PrefsConfig("rsrc/config/puzzle");
}