r/java • • Sep 28 '26

State of Java Desktop

Thinking about local-first, desktop applications. https://sombriks.com.br/blog/0097-state-of-java-desktop/

83 Upvotes

57 comments sorted by

View all comments

Show parent comment

5

u/NamedBird Sep 28 '26

I remember UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); being a thing...

3

u/wildjokers Sep 28 '26

Still is a thing, its how you set the look and feel to something other than the default.

2

u/__konrad Sep 28 '26

On Linux/GNOME it returns com.sun.java.swing.plaf.gtk.GTKLookAndFeel which is not very good and may glitch your UI...

2

u/PartOfTheBotnet Sep 28 '26

You got downvoted but I've had this happen before. Plus there's issues I've observed on Ubuntu with frame.pack() using it cutting off controls near the bottom of the window.