Convert Java + Windowbuilder project to Android or Web

Asked

Viewed 136 times

1

Good afternoon,

Would it be possible to convert my Java + Windowbuilder project to Android devices or to the web? I saw that it is possible to convert Java to Maven plus another doubt is... What would happen to Jframes?

Thank you!

  • I believe that there is no way. You can reuse some things.

1 answer

2


Good afternoon Junior

Converting directly is not possible, the viewing and controller part at least will have to be rewritten to suit the API of the platform on which you will implement.

Java is a programming language and Maven is a build manager for the Java language, this conversion does not exist, you just use Maven to manage the dependencies of your Java application.

Windowbuilder you are referring to the use of the Swing and AWT API of Java, as I said before it is not possible to run on Android or Web, but it is possible to build Applets that are Java applications that run on the Web, although nowadays it is rare to find someone using or building.

There is another API in Java to build desktop applications and can be ported to Android, Javafx.

Ref: https://docs.oracle.com/javase/8/javase-clienttechnologies.htm
Ref2: http://gluonhq.com/open-source/javafxports/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.