I have a Java Project to do for Class. So I decided to use the Designer in Inltellij-Idea to help me get the forms and windows quickcly done, and have more time developping the application.
The problem I am facing, is the fact that the teacher uses Eclipse, So I thought that at the end of the developpement I could export my Intellij-Idea project (UI and Classes) to make it work on Eclipse.
I have no problem exporting the classes, but what about the .form files ? how do I reference them in my code, so that the eclipse project could be Buildable ?
You can use
File
|Settings
|GUI Designer
|Generate GUI into
: Java source code.Rebuild the project, sources will be generated from the
.form
files. Now your app can be compiled in any IDE. Don't forget to add a dependency on theforms_rt.jar
file (bundle it with the project). It's required to compile and run your application when using GUI Designer (IDEA_HOME\redist\forms_rt.jar
).