The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Setting Background of a JPanel when using the callback.CustomizeUiComponents method.

Kayode | Last updated: Aug 27, 2020 05:18AM UTC

I am done creating my extension and making it look a little presentable and organized. I have been look for ways to set the background color of a JPanel when using a jpanel and calling the callback.CustomizeUiComponents method. For example in the Dashboard Tab in burp locate Task, the panel that filter, running, paused, finished is light gray in light mode and dark in Darcula mode. How do i accomplish this when creating my own UI but in sync with burp ui theme. Thanks

Hannah, PortSwigger Agent | Last updated: Aug 27, 2020 06:58AM UTC

Hi Have you had a look at how existing BApp Store Extensions provide handling for dark mode - Hackvertor is a good example of an extension that provides a dark mode version. All BApp Store extensions have their code publicly available on GitHub. You can find them all here: https://github.com/portswigger

Kayode | Last updated: Aug 27, 2020 12:52PM UTC

Hello Hannah, thanks for the feedback, I just took a look at the source seams like theres a lot of if else conditional blocks, does the burp extender api have a way to tackle this theming or is there a color scheme that burp uses to know if its dark gray in dark theme it will change it to light gray in light theme. Just wondering if the api has a solution to this. Thanks.

Hannah, PortSwigger Agent | Last updated: Sep 01, 2020 11:21AM UTC