How to build this project? #23
-
Hi, as mentioned in the README file and discussion before ,I used IntelliJ to build this project. But latter i found I that I cannot run "Home_Screen.java". And when I try, some errors occurs ,this is one of them: Exception in thread "main" java.awt.IllegalComponentStateException: contentPane cannot be set to null.
at java.desktop/javax.swing.JRootPane.setContentPane(JRootPane.java:585)
at java.desktop/javax.swing.JFrame.setContentPane(JFrame.java:680)
at Home_Screen.<init>(Home_Screen.java:111)
at Home_Screen.main(Home_Screen.java:741) I firstly think it might be an issue with initialization .But your released version works well , so I doubt it may be caused by the difference of development environment. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
hi, I solved it! I forgot to install Swing UI Designer , which resulted in the form files being unread. |
Beta Was this translation helpful? Give feedback.
-
Great! @Superdog-ccr. It's nice to see you interested in this project. I'm currently working on next release. It will be pushed soon. You can explore the latest for now. |
Beta Was this translation helpful? Give feedback.
-
If anyone want any help regarding setting up! They can probably drop in here. |
Beta Was this translation helpful? Give feedback.
hi, I solved it! I forgot to install Swing UI Designer , which resulted in the form files being unread.
When building the program, if want to set the output, don't forget to configure the compiler output in the project settings. Adding the JAR file in artifacts and setting the main class is also needed.