Example usage for javax.swing.text LayeredHighlighter.LayerPainter subclass-usage

List of usage examples for javax.swing.text LayeredHighlighter.LayerPainter subclass-usage

Introduction

In this page you can find the example usage for javax.swing.text LayeredHighlighter.LayerPainter subclass-usage.

Usage

From source file Main.java

class UnderlineHighlightPainter extends LayeredHighlighter.LayerPainter {
    protected Color color;

    public UnderlineHighlightPainter(Color c) {
        color = c;
    }