Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What new changes came with Swing in Java 8?

Are there any changes than came with Swing and AWT in Java 8? In release notes for Java 8 I it's not mentioned.

like image 507
Alexander Bezrodniy Avatar asked Apr 17 '15 03:04

Alexander Bezrodniy


People also ask

Is Java Swing still used in 2021?

Absolutely yes. Legacy swing applications are still supported and enhanced.

What has replaced Java Swing?

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."

Is Java Swing still updated?

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.


1 Answers

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

like image 110
David Limkys Avatar answered Sep 20 '22 05:09

David Limkys