InQL is a robust, open-source Burp Suite extension for advanced GraphQL testing, offering intuitive vulnerability detection, customizable scans, and seamless Burp integration.
In order to get InQL to look like main Burp interface, we're using UIManager.setLookAndFeel() as seen in https://github.com/doyensec/inql/blob/dev/python/inql/extender.py#L93. The style gets changed to FlatLaf before adding main UI elements, and it is reverted back after InQL is initiated.
It is a global modification so some elements that are created during the same time by Burp are ineriting FlatLaf as well, which results in graphical glitches. Find a way to solve / sidestep this problem.
[ ] Burp provides applyThemeToComponent() call which doesn't seem to have any effect. Are we using it incorrectly?
[ ] Is there a way to only set Look and Feel to explicitly selected components without changing global setting?
[ ] Finally, if nothing else works, implement a tight context manager that could be used just around the UI code.
In order to get InQL to look like main Burp interface, we're using UIManager.setLookAndFeel() as seen in https://github.com/doyensec/inql/blob/dev/python/inql/extender.py#L93. The style gets changed to FlatLaf before adding main UI elements, and it is reverted back after InQL is initiated.
It is a global modification so some elements that are created during the same time by Burp are ineriting FlatLaf as well, which results in graphical glitches. Find a way to solve / sidestep this problem.