src/share/classes/javax/swing/JViewport.java

Print this page

        

*** 659,669 **** /** * Returns true if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE} to cause * painting to originate from {@code JViewport}, or one of its * ancestors. Otherwise returns {@code false}. * ! * @return true if if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE}. * @see JComponent#isPaintingOrigin() */ protected boolean isPaintingOrigin() { return scrollMode == BACKINGSTORE_SCROLL_MODE; } --- 659,669 ---- /** * Returns true if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE} to cause * painting to originate from {@code JViewport}, or one of its * ancestors. Otherwise returns {@code false}. * ! * @return true if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE}. * @see JComponent#isPaintingOrigin() */ protected boolean isPaintingOrigin() { return scrollMode == BACKINGSTORE_SCROLL_MODE; }