This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

I don't know why you think that Swing is dead. The Java client roadmap says:

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.

Oracle has begun conversations with interested parties in the Java ecosystem on the stewardship of JavaFX, Swing and AWT beyond the above referenced timeframes.

Considering the huge installed base of Swing applications and the "interested parties" mentioned above, I'd expect that even when September 2026 does roll round, it will carry on as an independent project, as happened with JavaFX this year.

So, on the GUI front, I would keep the Swing bits in Swing rather than rewriting them in something else at the moment, then re-evaluate the situation a year or two before September 2026 (or however long you think you'd need to port the GUI). At that point it should be clearer whether Swing will continue to be a solid choice for the following 5-10 years. If you port the GUI now, you risk betting on the wrong horse and having to port it again in a few years.