将 Java Swing 转换为基于 Web 的应用程序 [英] Convert Java Swing to web-based Application
问题描述
我有 Java Swing 应用程序.我想转换为 Web 基础应用程序.什么是最简单的方法?有没有可用的工具,最好是开源代码?
I have Java swing application. I want to convert to web base application. What is easiest way? Is there any tool available, preferably open source code?
推荐答案
AjaxSwing 是一个运行时工具,需要服务器许可证才能用于商业用途.
AjaxSwing is a run-time tool and needs a server license for commercial use.
您可能想尝试 Mia Transformer - 网站的部分内容是法语-.他们将 Swing Java 代码更改为 GWT Java 代码,GWT 将其更改为 Javascript,然后如果您愿意,您可以使用 Google V8 编译器来加快执行速度.当然不是100%.我们将在一个大型项目中试用它,看看它是否有效.
You might want to try Mia Transformer -parts of the website are in French-. They change Swing Java code to GWT Java Code and GWT changes it to Javascript and then if you want you can use Google V8 compiler for faster execution. Of course it is not 100%. We are going to try it for a large project and see if it works.
提供给我们的另一个链接是 SwingWeb.不过还没有检查出来.
The other link provided to us was SwingWeb. Have not checked it out though.
会及时通知您.如果您遇到可行的解决方案,请分享.
Will keep you posted. If you come across a workable solution please share.
这篇关于将 Java Swing 转换为基于 Web 的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!