## Uses of Class
javax.swing.text.LayeredHighlighter.LayerPainter

- Packages that use LayeredHighlighter.LayerPainter
  Package | Description
  --- | ---
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

- - ### Uses of LayeredHighlighter.LayerPainter in javax.swing.text

    Subclasses of LayeredHighlighter.LayerPainter in javax.swing.text
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `DefaultHighlighter.DefaultHighlightPainter` Simple highlight painter that fills a highlighted area with a solid color.

    Fields in javax.swing.text declared as LayeredHighlighter.LayerPainter
    Modifier and Type | Field | Description
    --- | --- | ---
    `static LayeredHighlighter.LayerPainter` | DefaultHighlighter.`DefaultPainter` Default implementation of LayeredHighlighter.LayerPainter that can be used for painting highlights.

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.