Package privbot.ui


@PublicApi package privbot.ui
The Swing half of the PrivBot UI kit: the plugin sidebar, the shared theme and a few widgets.

Every plugin's sidebar is a PrivBotPanel built with PrivBotPanel.builder(String) and attached with PluginUi.attach(net.runelite.client.ui.ClientToolbar, java.lang.String, java.util.function.Supplier<privbot.ui.PrivBotPanel>, java.lang.Class<?>, java.lang.String) in startUp(); call PluginUi.detach() in shutDown(). Running state and stats are polled by the panel's timer on the EDT, so the suppliers you pass must return published values, never read the client. Status always pairs a glyph with its colour (PanelStatus).

Colours, fonts and spacing come from ModernTheme; do not declare a private palette or extend PluginPanel directly. Settings windows live in privbot.ui.fx and in-game overlays in privbot.ui.overlay. All Swing calls here belong on the EDT. Guide: the SDK docs, Concepts (UI kit surfaces) and the overlays and UI cookbook.