开发者

Will Java 8 be able to have another release of Swing?

Taking into consideration Project Jigsaw for Java 8 (to modularize the JDK), will a "new" Swing Framework be able to be taken into consideration?

Consideration means:

  • someone actually rewriting it
  • including it into a JDK release

I'm thinking, since modules can be included into the JDK, a new framework for Swing can be created and delivered for use to new applications developers, while, for the legacy applications, the current Swing framework would be included.

Would rewriting a new Swing and including it into the new JDK be an option for Java 8? (What are your opinions and considerations to take i开发者_Python百科nto account for this task ?)


It was not included in Java 8, and is highly unlikely that it will even be considered for Java 9.

According this JavaFX page, JavaFX is the replacement for Swing:

  1. Is JavaFX replacing Swing as the new client UI library for Java SE?

Yes. However, Swing will remain part of the Java SE specification for the foreseeable future, and therefore included in the JRE. While we recommend developers to leverage JavaFX APIs as much as possible when building new applications, it is possible to extend a Swing application with JavaFX, allowing for a smoother transition.

In addition, Project Jigsaw is now targeted for Java 9.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜