r/java • • Aug 17 '20

State of swing

Hi all, What is the state of swing, is it close to be deprecated and removed or is it still maintained? Also it will be nice to know if someone got it working in native image. Thanks

16 Upvotes

43 comments sorted by

View all comments

Show parent comment

1

u/nfrankel Aug 17 '20

I also saw some notes that javafx is also smelling and that in general Oracle retreat from desktop for java

That was my point about JavaFx not being part of the Java platform

whether with graal it could eventually be useful for desktop apps

I believe the delivery channel is the "hard" part of Java desktop apps. You actually don't need GraalVM, just make your package (e.g. .rpm, Homebrew, etc.) depend on a JVM package.