Convert Java + WindowBuilder project to Android or Web

1

Good afternoon,

Would you be able to convert my Java + Windowbuilder project to Android or Web devices? I saw that it is possible to convert Java to Maven but another question is ... What would happen to JFrames?

Thank you!

    
asked by anonymous 10.12.2015 / 16:40

1 answer

2

Good afternoon Junior

Convert directly is not possible, the preview and controller part will at least have to be rewritten to fit the platform API on which to do the implementation.

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

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

There is another API in Java to build Desktop applications that can be ported to Android, JavaFX.

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