|
|
|
@ -12,6 +12,7 @@ import java.awt.*;
|
|
|
|
|
import java.awt.event.*; |
|
|
|
|
import java.awt.datatransfer.*; |
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
|
import java.awt.geom.Line2D; |
|
|
|
|
import java.io.*; |
|
|
|
|
import javax.swing.*; |
|
|
|
|
import javax.swing.plaf.*; |
|
|
|
@ -454,9 +455,9 @@ public class ConfigurableCaret extends DefaultCaret {
|
|
|
|
|
|
|
|
|
|
// A thicker vertical line.
|
|
|
|
|
case THICK_VERTICAL_LINE_STYLE: |
|
|
|
|
g.drawLine(r.x,r.y, r.x,r.y+r.height); |
|
|
|
|
r.x++; |
|
|
|
|
g.drawLine(r.x,r.y, r.x,r.y+r.height); |
|
|
|
|
Graphics2D g2 = (Graphics2D) g; |
|
|
|
|
g2.setStroke(new BasicStroke(2)); |
|
|
|
|
g2.draw(new Line2D.Float(r.x, r.y, r.x, r.y + r.height)); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
} // End of switch (style).
|
|
|
|
|