create java code for form made in designer
已回答
Hello everyone,
I designed a form in the form designer of IntelliJ idea. I would like the java code to build that form to be automatically generated. How do I do that? Is that even possible? I have made sure that the setting 'generate GUI into' is set to Java source code.
Thanks in advance,
Rob
请先登录再写评论。
Use Build and the code will appear in the .java file (it will be folded/collapsed by default).
I cant build the form, it won't allow me to build anything but the java files in the project. It did create a java file for the form, but that only has the following code:
Bind the Java file to the form, the code will be generated into this file.
If the issue remains, please provide a sample project illustrating the problem and the exact steps to reproduce.