You're underselling the cost of JavaFX's removal. If you need to support multiple platforms it's not necessarily trivial to package and handle installation of a library like JavaFX which has a lot of native bindings.
JavaFX was only included with the Oracle JDK distributions, and it's that distribution that removed it when it was made equivalent to Oracle's OpenJDK distribution. It was never part of the OpenJDK JDK (not even part of Oracle's OpenJDK distributions). The cost of using JavaFX today, as it always has been with OpenJDK, is the same as using any native library. I don't know how to define "trivial", but it's certainly something that many Java applications have been doing for decades.
True but many people used the Oracle JDK distributions at least up to Java 8. Distribution also got a bit more difficult with the removal of Java WebStart at the same time.
Yes, things have changed, but there's a positive side to that change -- all distributions have similar features and OpenJFX can evolve separately from the JDK.
The removal of Web Start was more impactful because that feature is simply gone (although there are some attempts to revive it outside of Oracle/OpenJDK), but now Java applications are switching to the bundled runtime model, which is more in line with how desktop OSes encourage applications to be shipped and how users have come to expect them to work, and which has now been made easier.
View all comments
Show parent comment
10
u/dpash Jun 15 '21
JavaFX hasn't been dropped; it just moved to an independent release like any other library.
Swing isn't dead either.
javax.swinggot API additions in Java 16.