简体   繁体   English

需要将Linux上运行的现有大型Java Swing应用程序迁移到IOS(移动平台)

[英]Need to migrate Existing large Java Swing application running on Linux to IOS(mobile platform)

I have an existing Large Java Swing GUI application and would like to migrate to IOS(Mobile app). 我有一个现有的Large Java Swing GUI应用程序,想迁移到IOS(移动应用程序)。 Will Java Swing work for sure with robovm? Java Swing是否可以与robovm一起正常使用?

Just compile to the bytecode on MAC and run it on IOS, is it going to be that simple and there is going to some work involved in it? 只需在MAC上编译为字节码并在IOS上运行,它是否会那么简单,并且需要进行一些工作?

Will it support all the 3rd party jars or are there any restriction in it? 它会支持所有第三方罐子吗?还是有任何限制?

Are there any other alternatives on opensource or otherwise simpler for Java Swing GUI application migration to Mac OS? Java Swing GUI应用程序迁移到Mac OS上,在开源上是否还有其他选择或更简单?

I don't think Swing is going to work with RoboVM. 我认为Swing无法与RoboVM一起使用。 Even if it does, the App Store will very likely reject your app because it won't conform with their UI guidelines. 即使这样做,App Store也很可能会拒绝您的应用程序,因为它不符合其UI准则。

As far as the non-ui logic in your app, RoboVM should handle it given you're not making native calls. 至于您应用中的非UI逻辑,如果您未进行本机调用,则RoboVM应该处理它。

I know of no Swing to Mac UI converters. 我知道没有Swing到Mac UI转换器。 You're probably better off reskinning your app. 重新调整应用程序外观可能会更好。

Codename One is very much like Swing and was modeled based on it, it will allow you to port the code relatively easily (layout managers etc.). Codename One非常类似于Swing,并基于它进行建模,它使您可以相对轻松地移植代码(布局管理器等)。 Porting a Swing app should be trivial see this quick getting started for Swing developers: http://www.codenameone.com/swing.html 移植Swing应用程序应该很简单,请参见Swing开发人员的快速入门指南: http : //www.codenameone.com/swing.html

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

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