gpt4 book ai didi

Java:将小程序转换为桌面应用程序

转载 作者:行者123 更新时间:2023-11-30 04:27:00 25 4
gpt4 key购买 nike

到目前为止,我只看到了将 Java 桌面应用程序转换为小程序的方法。有什么办法可以逆转吗? (它继承自java.applet.Applet)

编辑:我的意思是以某种方式使小程序成为桌面可执行 JAR 文件(swing 或其他文件)。

最佳答案

最简单的方法是在某种 AppletViewer 中运行它

http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/appletviewer.html

这是一个类似的问题。

https://softwareengineering.stackexchange.com/questions/188982/how-to-run-an-applet-like-a-desktop-application-without-installing-entire-jdk

希望有帮助。

如果失败,您将需要在 JFrame 和 java Swing 上重新构建代码

关于Java:将小程序转换为桌面应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15624312/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com