private static class BracketMatchingTextArea.BorderPainter extends Object implements Highlighter.HighlightPainter
Modifier and Type | Field and Description |
---|---|
private Color |
highlightColor |
Constructor and Description |
---|
BracketMatchingTextArea.BorderPainter(Color highlightColor) |
Modifier and Type | Method and Description |
---|---|
void |
paint(Graphics g,
int offs0,
int offs1,
Shape bounds,
JTextComponent c)
The code is copied from @link DefaultHighlighter#DefaultPainter#paint(Graphics)
|
private final Color highlightColor
public BracketMatchingTextArea.BorderPainter(Color highlightColor)
public void paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c)
paint
in interface Highlighter.HighlightPainter