Class ScrollPanes

java.lang.Object
ai.attackframework.tools.burp.ui.primitives.ScrollPanes

public final class ScrollPanes extends Object
Helpers for consistent scroll pane creation and configuration.

EDT: callers must invoke on the EDT.

  • Method Details

    • wrap

      public static JScrollPane wrap(Component view)
      Wraps a component in a scroll pane with consistent scrollbar policy and speed.
      Parameters:
      view - child component to wrap
      Returns:
      configured scroll pane
    • wrapNoHorizontalScroll

      public static JScrollPane wrapNoHorizontalScroll(Component view)
      Wraps a component in a scroll pane with no horizontal scroll bar (content should wrap).
      Parameters:
      view - child component to wrap
      Returns:
      configured scroll pane
    • configureScrollSpeed

      public static void configureScrollSpeed(JScrollPane sp)
      Standardizes scroll speed for both axes to improve usability across panels.
      Parameters:
      sp - target scroll pane