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 the forms_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
).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.