Burp community forum

Highlight a tab

Paul | Last updated: Sep 14, 2015 12:57PM UTC

Is it possible to highlight an extension tab? When you do "Send to repeater" the repeater tab is highlighted. I'm working on a reporting extension, and I've added "Send to report" to the context menu. I'd like it to highlight the report tab. Many thanks! Paul

PortSwigger Agent | Last updated: Sep 14, 2015 03:48PM UTC

There isn't a way to do this via the API, sorry. But you could do it yourself fairly easily: walk up the Swing component hierarchy from your tab contents, to find the parent JTabbedPane(s), then call suitable methods to change the tab colours (and revert back again later).

Burp User | Last updated: Sep 16, 2015 07:32PM UTC

Thanks Dafydd, that worked a treat.

You need to Log in to post a reply. Or register here, for free.