Class SizingScrollPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ScrollPaneConstants

public class SizingScrollPane extends JScrollPane
Adds some functionality to the JScrollPane class; a SizingScrollPane will attempt to match the shape of its view component if it is a sensible shape. Otherwise it will assume some sensible shape.
Author:
Mark Taylor
See Also:
  • Constructor Details

    • SizingScrollPane

      public SizingScrollPane()
      Constructs an empty scroll pane.
    • SizingScrollPane

      public SizingScrollPane(Component view)
      Constructs a scroll pane holding a supplied component.
      Parameters:
      view - the component viewed by the new scrollpane
  • Method Details