Burp Suite User Forum

Login to post

Building a UI in Jython

Robin | Last updated: Aug 09, 2021 02:27PM UTC

Does anyone have a good way to build Swing interfaces in Jython? I've got a really simple two text fields and a ITextEditor to place. I can get them into the interface with a box layout, but the ITextEditor is squashed down to a single line and I can't find a way to make it any bigger. I've tried using NetBeans to create the code in Java, but converting it looks like it would be a nightmare. Python4NetBeans isn't supported any more so I assume that won't work with the latest version of NetBeans.

Hannah, PortSwigger Agent | Last updated: Aug 10, 2021 03:08PM UTC

Hi Robin Have you tried putting the ITextEditor component inside a different Swing component, like a panel? You could also try looking at other Python extensions that implement a UI. The full list of BApp Store Python extensions can be found here: https://github.com/orgs/PortSwigger/repositories?language=python

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