Uses of Interface javax.swing.Painter (Java SE 25 & JDK 25)
Description: use: module: java.desktop, package: javax.swing, interface: Painter

# Uses of Interface
javax.swing.Painter

Packages that use Painter
Package
Description
javax.swing.plaf.nimbus
Provides user interface objects built according to the cross-platform Nimbus look and feel.

- ## Uses of Painter in javax.swing.plaf.nimbus

  Classes in javax.swing.plaf.nimbus that implement Painter
  Modifier and Type
  Class
  Description
  `class`
  `AbstractRegionPainter`
  Convenient base class for defining Painter instances for rendering a region or component in Nimbus.
  Methods in javax.swing.plaf.nimbus that return Painter
  Modifier and Type
  Method
  Description
  `Painter<Object>`
  NimbusStyle.`getBackgroundPainter(SynthContext ctx)`
  Gets the appropriate background Painter, if there is one, for the state specified in the given SynthContext.
  `Painter<Object>`
  NimbusStyle.`getBorderPainter(SynthContext ctx)`
  Gets the appropriate border Painter, if there is one, for the state specified in the given SynthContext.
  `Painter<Object>`
  NimbusStyle.`getForegroundPainter(SynthContext ctx)`
  Gets the appropriate foreground Painter, if there is one, for the state specified in the given SynthContext.