diff --git a/src/java/com/threerings/puzzle/client/PuzzleBoardView.java b/src/java/com/threerings/puzzle/client/PuzzleBoardView.java index 4f40baa8..bf04b49d 100644 --- a/src/java/com/threerings/puzzle/client/PuzzleBoardView.java +++ b/src/java/com/threerings/puzzle/client/PuzzleBoardView.java @@ -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); } /** diff --git a/src/java/com/threerings/puzzle/client/PuzzlePrefs.java b/src/java/com/threerings/puzzle/client/PuzzlePrefs.java index 3d112c14..7840880e 100644 --- a/src/java/com/threerings/puzzle/client/PuzzlePrefs.java +++ b/src/java/com/threerings/puzzle/client/PuzzlePrefs.java @@ -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"); }