Class StatsPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class StatsPanel extends JPanel
Panel that displays live export charts and dashboard metrics.

Updates every few seconds via a Swing Timer. The panel shows rolling throughput charts, per-index and per-source traffic tables, and a compact "Misc Stats" card with the current export state. Sink-specific chart/table sections are shown only when that destination is selected at runtime. Caller must construct on the EDT.

See Also:
  • Constructor Details

    • StatsPanel

      public StatsPanel()
      Creates the Stats panel and starts the refresh timer.

      Caller must invoke on the EDT.

  • Method Details

    • addNotify

      public void addNotify()
      Starts periodic refresh while this panel is in the display hierarchy.

      Burp may remove/add tab content on tab switches. Keeping timer lifecycle tied to add/remove prevents unnecessary refresh work while the panel is not visible.

      Overrides:
      addNotify in class JComponent
    • removeNotify

      public void removeNotify()
      Stops periodic refresh when panel is removed from the display hierarchy.
      Overrides:
      removeNotify in class JComponent