Are there any changes than came with Swing and AWT in Java 8? In release notes for Java 8 I it's not mentioned.
Absolutely yes. Legacy swing applications are still supported and enhanced.
JavaFX was intended to replace Swing as the standard GUI library for Java SE, but it has been dropped from new Standard Editions while Swing and AWT remain included, supposedly because JavaFX's marketshare has been "eroded by the rise of 'mobile first' and 'web first applications."
Swing and AWT will continue to be supported on Java SE 8 through at least March 2025, and on Java SE 11 (18.9 LTS) through at least September 2026.
I don't think so... Swing has really old API, oracle left it behind in favor of JavaFX - which does have (and still developed) methods that use the new APIs.
Edit: just remembered, the only new 'feature' that I know of that was added to swing is the JFXPanel which is a way of integrating JavaFX components into your app swing-fx-interoperability
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With