Example usage for javax.swing.text DefaultHighlighter.DefaultHighlightPainter subclass-usage

List of usage examples for javax.swing.text DefaultHighlighter.DefaultHighlightPainter subclass-usage

Introduction

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

Usage

From source file Main.java

class MyHighlightPainter extends DefaultHighlighter.DefaultHighlightPainter {
    public MyHighlightPainter(Color color) {
        super(color);
    }
}

From source file Main.java

class MyHighlightPainter extends DefaultHighlighter.DefaultHighlightPainter {

    public MyHighlightPainter(Color color) {
        super(color);
    }
}

From source file Main.java

class MyHighightPainter extends DefaultHighlighter.DefaultHighlightPainter {
    MyHighightPainter(Color color) {
        super(color);
    }
}