jdk/src/share/classes/javax/swing/plaf/nimbus/Defaults.template
changeset 3928 be186a33df9b
parent 3093 3ae581eddd21
child 3932 c9cd7ff79037
--- a/jdk/src/share/classes/javax/swing/plaf/nimbus/Defaults.template	Tue Aug 04 17:25:36 2009 -0700
+++ b/jdk/src/share/classes/javax/swing/plaf/nimbus/Defaults.template	Fri Aug 07 18:31:11 2009 +0200
@@ -26,7 +26,7 @@
 
 import javax.swing.Painter;
 import java.awt.Graphics;
-import sun.font.FontManager;
+import sun.font.FontUtilities;
 import sun.swing.plaf.synth.DefaultSynthStyle;
 import javax.swing.BorderFactory;
 import javax.swing.JComponent;
@@ -138,7 +138,7 @@
         //regions and their states that this class will use for later lookup.
         //Additional regions can be registered later by 3rd party components.
         //These are simply the default registrations.
-        defaultFont = FontManager.getFontConfigFUIR("sans", Font.PLAIN, 12);
+        defaultFont = FontUtilities.getFontConfigFUIR("sans", Font.PLAIN, 12);
         defaultStyle = new DefaultSynthStyle();
         defaultStyle.setFont(defaultFont);