Hi Yitzhak,

The SunAwtFrame class is not part of BaseX, but of your JRE. We cannot control its choice. 

You could talk to the developers of the dark mode application. They should be able to address applications by other properties such as the process ID.

Hope this helps,
Christian


Von: Yitzhak Khabinsky via BaseX-Talk <basex-talk@mailman.uni-konstanz.de>
Gesendet: Donnerstag, April 23, 2026 2:32:23 PM
An: basex-talk@mailman.uni-konstanz.de <basex-talk@mailman.uni-konstanz.de>
Betreff: [basex-talk] BaseX UI main window class name - SunAwtFrame

Hello,

I have quite an unusual request.

BaseX UI has a main window class on a source code level.
Would it be possible to rename its current main windows class name, i.e.
SunAwtFrame, to something else?
For example, BaseXUI or BaseXFrame, to make it unique.

Here is a context of my request.
I am using "Dark Mode Any App" to apply a dark mode for the BaseX UI:
https://darkmodeanyapp.com/

"Dark Mode Any App is a simple utility which allows you to apply a dark mode
filter to any Windows application, even when it does not natively
support dark mode."

Unfortunately, both BaseX and Oxygen XML IDE are using the same main windows
class name: SunAwtFrame.
It is causing a conflict between BaseX and Oxygen XML IDE for the "Dark Mode
Any App" utility.
It cannot distinguish between them. The dark mode is being turned on for
both apps at the same time.
Which is not an intended result.

Thank you in advance.

Regards,
Yitzhak Khabinsky