It has been a few days that I've started using netbeans's gui designer. I have built and tested all the panels I need for my project, but today when I wanted to add some action listeners to my MainPanel.java class and tried to open it in design view, it didn't open. It shows loading the panel but there is no sign of viewing it. I can see the JPanel's code and I can see and open my other panels' design view. It's only this one. I searched the net but I couldn't find a proper answer. Can anyone help me? Does anyone have any idea what is the problem?
I'm using windows 7 and netbeans 8.0.2. here are my design classes:
FinancialDocumentsJFrame.java
MainPanel.java
BillEntryPanel.java
ReceiptEntryPanel.java
SearchPanel.java
PaymentJFrame.java
I can open the design view of other classes. It's only MainPanel.java that dose not open and can see its code only. I'm also using some other java classes, too. Rather than form classes.
I made a new class and copied the existing class code in to it and it worked again.
Good Luck with your codes.
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.