FileDocCategorySizeDatePackage
ScrollPaneDemo.javaAPI DocExample4333Wed Aug 08 15:13:52 BST 2001None

ScrollPaneDemo

public class ScrollPaneDemo extends DemoModule
Scroll Pane Demo
version
1.2 07/22/99
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();