< prev index next >

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

Print this page

        

*** 827,836 **** --- 827,837 ---- * @param w width in pixels * @param h height in pixels * * @see JComponent#reshape(int, int, int, int) */ + @SuppressWarnings("deprecation") public void reshape(int x, int y, int w, int h) { boolean sizeChanged = (getWidth() != w) || (getHeight() != h); if (sizeChanged) { backingStoreImage = null; }
*** 1445,1454 **** --- 1446,1456 ---- /** * Returns true if the component needs to be completely repainted after * a blit and a paint is received. */ + @SuppressWarnings("deprecation") private boolean needsRepaintAfterBlit() { // Find the first heavy weight ancestor. isObscured and // canDetermineObscurity are only appropriate for heavy weights. Component heavyParent = getParent();
< prev index next >