equal
deleted
inserted
replaced
68 * Selection appearance can be customized by supplying a |
68 * Selection appearance can be customized by supplying a |
69 * painter to use for the highlights. By default a painter is used that |
69 * painter to use for the highlights. By default a painter is used that |
70 * will render a solid color as specified in the associated text component |
70 * will render a solid color as specified in the associated text component |
71 * in the <code>SelectionColor</code> property. This can easily be changed |
71 * in the <code>SelectionColor</code> property. This can easily be changed |
72 * by reimplementing the |
72 * by reimplementing the |
73 * <a href="#getSelectionHighlighter">getSelectionHighlighter</a> |
73 * {@link #getSelectionPainter getSelectionPainter} |
74 * method. |
74 * method. |
75 * <p> |
75 * <p> |
76 * A customized caret appearance can be achieved by reimplementing |
76 * A customized caret appearance can be achieved by reimplementing |
77 * the paint method. If the paint method is changed, the damage method |
77 * the paint method. If the paint method is changed, the damage method |
78 * should also be reimplemented to cause a repaint for the area needed |
78 * should also be reimplemented to cause a repaint for the area needed |