jdk/src/share/classes/sun/awt/HeadlessToolkit.java
changeset 11264 54f2f4c6bd30
parent 8947 35ff89272f4f
child 13648 90effcfc064f
--- a/jdk/src/share/classes/sun/awt/HeadlessToolkit.java	Mon Dec 05 17:11:57 2011 +0400
+++ b/jdk/src/share/classes/sun/awt/HeadlessToolkit.java	Wed Dec 07 17:45:22 2011 +0400
@@ -396,6 +396,7 @@
     /*
      * Fonts
      */
+    @SuppressWarnings("deprecation")
     public FontPeer getFontPeer(String name, int style) {
         if (componentFactory != null) {
             return componentFactory.getFontPeer(name, style);
@@ -403,10 +404,12 @@
         return null;
     }
 
+    @SuppressWarnings("deprecation")
     public FontMetrics getFontMetrics(Font font) {
         return tk.getFontMetrics(font);
     }
 
+    @SuppressWarnings("deprecation")
     public String[] getFontList() {
         return tk.getFontList();
     }