## Uses of Interface
javax.swing.plaf.UIResource

- Packages that use UIResource
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  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.
  javax.swing.table | Provides classes and interfaces for dealing with `javax.swing.JTable`.

- - ### Uses of UIResource in javax.swing

    Classes in javax.swing that implement UIResource
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `DefaultListCellRenderer.UIResource` A subclass of DefaultListCellRenderer that implements UIResource.
    `protected class` | `JScrollPane.ScrollBar` By default `JScrollPane` creates scrollbars that are instances of this class.
    `static class` | `ScrollPaneLayout.UIResource` The UI resource version of `ScrollPaneLayout`.

  - ### Uses of UIResource in javax.swing.plaf

    Classes in javax.swing.plaf that implement UIResource
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ActionMapUIResource` A subclass of javax.swing.ActionMap that implements UIResource.
    `class` | `BorderUIResource`
    `static class` | `BorderUIResource.BevelBorderUIResource`
    `static class` | `BorderUIResource.CompoundBorderUIResource`
    `static class` | `BorderUIResource.EmptyBorderUIResource`
    `static class` | `BorderUIResource.EtchedBorderUIResource`
    `static class` | `BorderUIResource.LineBorderUIResource`
    `static class` | `BorderUIResource.MatteBorderUIResource`
    `static class` | `BorderUIResource.TitledBorderUIResource`
    `class` | `ColorUIResource`
    `class` | `ComponentInputMapUIResource` A subclass of javax.swing.ComponentInputMap that implements UIResource.
    `class` | `DimensionUIResource`
    `class` | `FontUIResource` A subclass of java.awt.Font that implements UIResource.
    `class` | `IconUIResource` An Icon wrapper class which implements UIResource.
    `class` | `InputMapUIResource` A subclass of javax.swing.InputMap that implements UIResource.
    `class` | `InsetsUIResource`

  - ### Uses of UIResource in javax.swing.plaf.basic

    Classes in javax.swing.plaf.basic that implement UIResource
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `BasicBorders.ButtonBorder`
    `static class` | `BasicBorders.FieldBorder`
    `static class` | `BasicBorders.MarginBorder`
    `static class` | `BasicBorders.MenuBarBorder`
    `static class` | `BasicBorders.RadioButtonBorder`
    `static class` | `BasicBorders.RolloverButtonBorder` Special thin border for rollover toolbar buttons.
    `static class` | `BasicBorders.SplitPaneBorder` Draws the border around the splitpane.
    `static class` | `BasicBorders.ToggleButtonBorder`
    `static class` | `BasicComboBoxEditor.UIResource` A subclass of BasicComboBoxEditor that implements UIResource.
    `static class` | `BasicComboBoxRenderer.UIResource` A subclass of BasicComboBoxRenderer that implements UIResource.
    `static class` | `BasicTextUI.BasicCaret`
    `static class` | `BasicTextUI.BasicHighlighter`
    `class` | `DefaultMenuLayout` The default layout manager for Popup menus and menubars.

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

    Classes in javax.swing.plaf.metal that implement UIResource
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `MetalBorders.ButtonBorder`
    `static class` | `MetalBorders.Flush3DBorder`
    `static class` | `MetalBorders.InternalFrameBorder`
    `static class` | `MetalBorders.MenuBarBorder`
    `static class` | `MetalBorders.MenuItemBorder`
    `static class` | `MetalBorders.OptionDialogBorder`
    `static class` | `MetalBorders.PaletteBorder` Border for a Palette.
    `static class` | `MetalBorders.PopupMenuBorder`
    `static class` | `MetalBorders.RolloverButtonBorder`
    `static class` | `MetalBorders.ScrollPaneBorder`
    `static class` | `MetalBorders.TextFieldBorder`
    `static class` | `MetalBorders.ToggleButtonBorder`
    `static class` | `MetalBorders.ToolBarBorder`
    `class` | `MetalCheckBoxIcon` CheckboxIcon implementation for OrganicCheckBoxUI
    `static class` | `MetalComboBoxEditor.UIResource` A subclass of BasicComboBoxEditor that implements UIResource.
    `static class` | `MetalIconFactory.PaletteCloseIcon` Defines an icon for Palette close

  - ### Uses of UIResource in javax.swing.table

    Classes in javax.swing.table that implement UIResource
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `DefaultTableCellRenderer.UIResource` A subclass of `DefaultTableCellRenderer` that implements `UIResource`.

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.