Class JScrollPanePixelBorder

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

public class JScrollPanePixelBorder extends JScrollPane
Scroller with border.
See Also:
  • Constructor Details

    • JScrollPanePixelBorder

      public JScrollPanePixelBorder(Component c)
      Create a scrollpane with top and left border for default component and a slide one. A component slided to the right will normally hide the left border, JScrollPanePixelBorder fix this.
      Parameters:
      c - Component to decorate with a scroll
    • JScrollPanePixelBorder

      public JScrollPanePixelBorder(int top, int left, int bottom, int right, Component c)
      A scrollpane with custom borders
      Parameters:
      top - Border top size
      left - Border left size
      bottom - Border bottom size
      right - Border right size
      c - Component to decorate