jdk/src/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java
changeset 21278 ef8a3a2a72f2
parent 20458 f2423fb3fd19
child 22574 7f8ce0c8c20a
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    55  * <li>Set the defaults property <code>swing.boldMetal</code> to
    55  * <li>Set the defaults property <code>swing.boldMetal</code> to
    56  *     <code>Boolean.FALSE</code>.  For example:
    56  *     <code>Boolean.FALSE</code>.  For example:
    57  *     <code>UIManager.put("swing.boldMetal",&nbsp;Boolean.FALSE);</code>
    57  *     <code>UIManager.put("swing.boldMetal",&nbsp;Boolean.FALSE);</code>
    58  * </ul>
    58  * </ul>
    59  * The defaults property <code>swing.boldMetal</code>, if set,
    59  * The defaults property <code>swing.boldMetal</code>, if set,
    60  * takes precendence over the system property of the same name. After
    60  * takes precedence over the system property of the same name. After
    61  * setting this defaults property you need to re-install
    61  * setting this defaults property you need to re-install
    62  * <code>MetalLookAndFeel</code>, as well as update the UI
    62  * <code>MetalLookAndFeel</code>, as well as update the UI
    63  * of any previously created widgets. Otherwise the results are undefined.
    63  * of any previously created widgets. Otherwise the results are undefined.
    64  * The following illustrates how to do this:
    64  * The following illustrates how to do this:
    65  * <pre>
    65  * <pre>
   282     }
   282     }
   283 
   283 
   284     /**
   284     /**
   285      * Returns the system text font. This returns Dialog, 12pt, plain.
   285      * Returns the system text font. This returns Dialog, 12pt, plain.
   286      *
   286      *
   287      * @return the sytem text font
   287      * @return the system text font
   288      */
   288      */
   289     public FontUIResource getSystemTextFont() {
   289     public FontUIResource getSystemTextFont() {
   290         return getFont(SYSTEM_TEXT_FONT);
   290         return getFont(SYSTEM_TEXT_FONT);
   291     }
   291     }
   292 
   292