Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/javax/swing/text/DefaultCaret.java
          +++ new/src/share/classes/javax/swing/text/DefaultCaret.java
↓ open down ↓ 229 lines elided ↑ open up ↑
 230  230          return component;
 231  231      }
 232  232  
 233  233      /**
 234  234       * Cause the caret to be painted.  The repaint
 235  235       * area is the bounding box of the caret (i.e.
 236  236       * the caret rectangle or <em>this</em>).
 237  237       * <p>
 238  238       * This method is thread safe, although most Swing methods
 239  239       * are not. Please see
 240      -     * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
      240 +     * <A HREF="https://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
 241  241       * in Swing</A> for more information.
 242  242       */
 243  243      protected final synchronized void repaint() {
 244  244          if (component != null) {
 245  245              component.repaint(x, y, width, height);
 246  246          }
 247  247      }
 248  248  
 249  249      /**
 250  250       * Damages the area surrounding the caret to cause
↓ open down ↓ 1670 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX