The form bound to the class does not have a valid binding for the root component

使用IntelliJIDEA編寫JAVASWING 設計好按鈕之後,點alt+insert,選擇form main自動生成代碼的時候報了個錯誤 這個是因爲JPanel沒有添加名字 選擇JPanel下面點擊field name 添加一個name 再自動生成代碼就不會報錯了
相關文章
相關標籤/搜索