Exporting the Intellij-Idea UI Form to Eclipse

I have a Java Project for a class. Therefore, I decided to use the designer in Inltellij-Idea to help me quickly and quickly get forms and windows, and more time to develop the application.

The problem I am facing is that the teacher uses Eclipse, so I thought that at the end of development, I could export the Intellij-Idea project (UI and Classes) so that it works on Eclipse.

I have no problem exporting classes, but what about .form files? how can I refer to them in my code so that the eclipse project can be buildable?

+8
java eclipse intellij-idea
source share
1 answer

You can use File | Settings | GUI Designer | Generate GUI into : Java source code .

Rebuild the project, sources will be generated from .form files. Now your application can be compiled in any IDE. Remember to add a dependency on the forms_rt.jar file (link it to the project). This is necessary to compile and run your application when using the GUI Designer ( IDEA_HOME\redist\forms_rt.jar ).

+12
source share

All Articles