r/java • u/koflerdavid • Apr 23 '26
Java Swing Dark Mode on GTK
https://bugs.openjdk.org/browse/JDK-8365313Hi, I just noticed that the OpenJDK project has fixed switching to dark mode on GTK in JDK 27ea8. Does anybody know whether Swing already switches to the correct theme on other platforms as well?
26
Upvotes
View all comments
Show parent comment
3
u/koflerdavid Apr 26 '26
Which borders exactly? As long as you set system look&feel it should look like a normal GTK application. Alright that doesn't mean much to be honest in terms of prettiness. If you are not satisfied with that you might want to integrate Flatlaf.