< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java

Print this page

        

@@ -2485,10 +2485,11 @@
     }
 
     /**
      * Calculates the dialog unit mapping.
      */
+    @SuppressWarnings("deprecation")
     private void calculateBaseUnits() {
         // This calculation comes from:
         // http://support.microsoft.com/default.aspx?scid=kb;EN-US;125681
         FontMetrics metrics = Toolkit.getDefaultToolkit().getFontMetrics(
                 UIManager.getFont("Button.font"));
< prev index next >