Uses of Class javax.swing.plaf.FontUIResource (Java Platform SE 8 )
Date: 2026-03-29

## Uses of Class
javax.swing.plaf.FontUIResource

- Packages that use FontUIResource
  Package | Description
  --- | ---
  javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.

- - ### Uses of FontUIResource in javax.swing.plaf.metal

    Methods in javax.swing.plaf.metal that return FontUIResource
    Modifier and Type | Method and Description
    --- | ---
    `FontUIResource` | DefaultMetalTheme.`getControlTextFont()` Returns the control text font.
    `abstract FontUIResource` | MetalTheme.`getControlTextFont()` Returns the control text font.
    `static FontUIResource` | MetalLookAndFeel.`getControlTextFont()` Returns the control text font of the current theme.
    `FontUIResource` | DefaultMetalTheme.`getMenuTextFont()` Returns the menu text font.
    `abstract FontUIResource` | MetalTheme.`getMenuTextFont()` Returns the menu text font.
    `static FontUIResource` | MetalLookAndFeel.`getMenuTextFont()` Returns the menu text font of the current theme.
    `FontUIResource` | DefaultMetalTheme.`getSubTextFont()` Returns the sub-text font.
    `abstract FontUIResource` | MetalTheme.`getSubTextFont()` Returns the sub-text font.
    `static FontUIResource` | MetalLookAndFeel.`getSubTextFont()` Returns the sub-text font of the current theme.
    `FontUIResource` | DefaultMetalTheme.`getSystemTextFont()` Returns the system text font.
    `abstract FontUIResource` | MetalTheme.`getSystemTextFont()` Returns the system text font.
    `static FontUIResource` | MetalLookAndFeel.`getSystemTextFont()` Returns the system text font of the current theme.
    `FontUIResource` | DefaultMetalTheme.`getUserTextFont()` Returns the user text font.
    `abstract FontUIResource` | MetalTheme.`getUserTextFont()` Returns the user text font.
    `static FontUIResource` | MetalLookAndFeel.`getUserTextFont()` Returns the user text font of the current theme.
    `FontUIResource` | DefaultMetalTheme.`getWindowTitleFont()` Returns the window title font.
    `abstract FontUIResource` | MetalTheme.`getWindowTitleFont()` Returns the window title font.
    `static FontUIResource` | MetalLookAndFeel.`getWindowTitleFont()` Returns the window title font of the current theme.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.