Generated by
JDiff

Class javax.swing.JViewport

Added Methods
int getScrollMode() Returns the current scrolling mode.
ViewportUI getUI() Returns the L&F object that renders this component.
void setScrollMode(int) Used to control the method of scrolling the viewport contents.
void setUI(ViewportUI) Sets the L&F object that renders this component.
 

Changed Methods
String getUIClassID() Method was inherited from JComponent, but is now defined locally. Returns a string that specifies the name of the L&F class that renders this component.
boolean isBackingStoreEnabled() Now deprecated.
As of Java 2 platform v1.3, replaced by getScrollMode().
void setBackingStoreEnabled(boolean) Now deprecated.
As of Java 2 platform v1.3, replaced by setScrollMode().
void updateUI() Method was inherited from JComponent, but is now defined locally. Notification from the UIFactory that the L&F has changed.
 

Added Fields
int BACKINGSTORE_SCROLL_MODE Draws viewport contents into an offscreen image.
int BLIT_SCROLL_MODE Use graphics.copyArea() to implement scrolling.
int SIMPLE_SCROLL_MODE This mode uses the very simple method of redrawing the entire contents of the scrollpane each time it is scrolled.
 

Changed Fields
boolean backingStore Now deprecated.
As of Java 2 platform v1.3