[英]"update controller" from FXML in IntellIJ for javaFX project
[英]Is it possible to automatically add all the IDs from FXML to Controller in IntelliJ or other platforms
我在IntelliJ IDE 中的JavaFX開始了一個新項目。我在FXML文件中設置了很多元素。 將所有這些 ID 手動添加到 Controller 並不困難。 那么有什么簡單的方法可以將它們添加到我們的 Controller 中嗎?
右擊.fxml文件 --> FXML Helper --> Generate Controller --> Select access level for your controller variables
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.