You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I look into details about the fxml code, I discovered that intellij is giving me warning on all the onAction fields, with the message "No controller is specified for top-level element". But even so the code still works and the proposed functionalities work correctly. So what exact is this problem, and do I need to care about it?
Thanks :D
The text was updated successfully, but these errors were encountered:
Have you tried adding your controller to the top level pane. EG: fx:controller="com.example.Controller" Can refer to Source for more info
Hi @Nature711, yet another senior here. I won't quite recommend the above solution, because there are two ways to specify the controller, either in the FXML or via code, see this line for how it is specified. Given that there are two ways, it is highly recommended to stick to one, or else conflicts might occur, in this case AB3 and by extension your tP chose to set it via code.
Intellij is probably having troubles picking up this association and hence the warning, but it can be safely disregarded.
When I look into details about the fxml code, I discovered that intellij is giving me warning on all the
onAction
fields, with the message "No controller is specified for top-level element". But even so the code still works and the proposed functionalities work correctly. So what exact is this problem, and do I need to care about it?Thanks :D
The text was updated successfully, but these errors were encountered: