简体   繁体   English

从JDK中删除Swing?

[英]Swing removed from JDK?

"JSR-296 (Swing Application Framework) is no longer developed and will not become part of the offical Java Development Kit as was originally planned. You can still use the Swing Application Framework library as it is, but no further development is expected." “JSR-296(Swing应用程序框架)已不再开发,不会像最初计划的那样成为官方Java开发工具包的一部分。您仍然可以使用Swing应用程序框架库,但预计不会进一步开发。”

So... What to do? 那么该怎么办? New API replacing it? 新的API取而代之?

The swing application framework was a project to create an application framework on top of the swing GUI widget library. swing应用程序框架是一个在swing GUI小部件库之上创建应用程序框架的项目。 IIRC It had some of the same functionality that http://swinglabs.org/ has. IIRC它有一些与http://swinglabs.org/相同的功能。 It was intended that future versions of Java would ship with it. 打算将来的Java版本随附。

It is not the same thing as the swing GUI widget library which already ships with Java. 它与已经附带Java的swing GUI小部件库不同。

More details on the difference between an application framework and the GUI widget library can been found in this interview with the lead for the JSR . 有关应用程序框架和GUI小部件库之间差异的更多详细信息可以在JSR的主角访谈中找到。

You can try BSAF ( http://kenai.com/projects/bsaf/pages/Home ) as a replacement of Swing Application Framework. 您可以尝试BSAFhttp://kenai.com/projects/bsaf/pages/Home )作为Swing应用程序框架的替代品。 The stable version is released. 稳定版本发布。 Now we are working on API improvements for version 2.0. 现在我们正在为2.0版本进行API改进。 And we really need more contributors. 我们真的需要更多的贡献者。 Is anybody interested? 有人感兴趣吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM