Class StatusViews

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

public final class StatusViews extends Object
Helpers for status-area configuration and message updates.

EDT: callers must invoke on the EDT.

  • Method Details

    • configureTextArea

      public static void configureTextArea(JTextArea area)
      Configures a status JTextArea for compact, monospaced, non-editable output.
    • configureWrapper

      public static void configureWrapper(JPanel wrapper, JTextArea area)
      Configures a wrapper panel around a status area for compact bordered output.

      EDT: caller must invoke on the EDT.

      Parameters:
      wrapper - container that hosts the status area
      area - configured status text area
    • setStatus

      public static void setStatus(JTextArea area, JPanel wrapper, String message, int minCols, int maxCols)
      Updates text and sizes the status area invalid input: '&' wrapper to the message content.

      Parameters:
      area - the status text area
      wrapper - parent wrapper (visibility toggled on update)
      message - status message (can be multi-line)
      minCols - minimum columns to show
      maxCols - maximum columns to clamp to