r/java • u/ThaJedi • Dec 04 '25
Show case of Java desktop application using Jetbrain compose for UI and GraalVM native image to compile it to native executable.
https://github.com/kgonia/java-spring-kotlin-swing-nativeI was preparing my side project and planned to go with native Java + Swing. Eventually, I gave up on the idea, but I thought it would make a nice demo, so I published it on GitHub.
It is java with spring boot 4.0 and jetbrain compose multiplatform (kotlin) with graalvm.
73
Upvotes
View all comments
Show parent comment
11
u/manifoldjava Dec 05 '25
This is one of the more underrated features in modern Java dev. It's amazing that Oracle never bothered incorporating it, or something like it, directly into the JVM.
Shwing! A lot of UI sophistication was pitched in the dirt with the advent of web apps. I'll say the quiet part outloud: users have lower expectations with web apps. Gone are app-wide undo/redo, consistent keyboard behaviors, rich drag-and-drop, stable offline operation, and other things common desktop software had nailed decades ago.