FileDocCategorySizeDatePackage
ScrollPaneDemo.javaAPI DocSun JDK 1.4.2 Example4555Thu May 12 00:35:28 BST 2005None

ScrollPaneDemo

public class ScrollPaneDemo extends DemoModule
Scroll Pane Demo
version
1.6 01/23/03
author
Jeff Dinkins

Fields Summary
Constructors Summary
public ScrollPaneDemo(SwingSet2 swingset)
ScrollPaneDemo Constructor

	super(swingset, "ScrollPaneDemo", "toolbar/JScrollPane.gif");

	ImageIcon crayons = createImageIcon("scrollpane/crayons.jpg",  getString("ScrollPaneDemo.crayons"));
	getDemoPanel().add(new ImageScroller(this, crayons), BorderLayout.CENTER);
    
Methods Summary
public static voidmain(java.lang.String[] args)
main method allows us to run as a standalone demo.

	ScrollPaneDemo demo = new ScrollPaneDemo(null);
	demo.mainImpl();