Class Tooltips

java.lang.Object
ai.attackframework.tools.burp.ui.text.Tooltips

public final class Tooltips extends Object
Shared tooltip helpers so panels use consistent formatting.
  • Method Details

    • configureSharedToolTipManager

      public static void configureSharedToolTipManager()
      Configures the shared Swing tooltip manager for hover-friendly behavior.

      Tooltips appear immediately, reshow immediately when moving between related controls, and stay visible while the cursor remains over the hover target.

    • createHtmlToolTip

      public static JToolTip createHtmlToolTip(JComponent owner)
    • apply

      public static <T extends JComponent> T apply(T component, String tooltip)
    • label

      public static JLabel label(String text, String tooltip)
    • html

      public static String html(String... lines)
    • htmlRaw

      public static String htmlRaw(String... lines)
    • htmlWithSource

      public static String htmlWithSource(String description, String source)
      Formats a description/source tooltip pair.

      Short values stay on the compact single-paragraph layout, while longer values are split into labeled Description and Source sections so field tooltips remain readable in Swing's constrained popup width.

    • textWithSource

      public static String textWithSource(String description, String source)
    • escapeHtml

      public static String escapeHtml(String value)