src/share/classes/javax/swing/text/DefaultCaret.java

Print this page

        

*** 235,245 **** * area is the bounding box of the caret (i.e. * the caret rectangle or <em>this</em>). * <p> * This method is thread safe, although most Swing methods * are not. Please see ! * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. */ protected final synchronized void repaint() { if (component != null) { component.repaint(x, y, width, height); --- 235,245 ---- * area is the bounding box of the caret (i.e. * the caret rectangle or <em>this</em>). * <p> * This method is thread safe, although most Swing methods * are not. Please see ! * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. */ protected final synchronized void repaint() { if (component != null) { component.repaint(x, y, width, height);