Update Controller Methods / Variables?
Seems like I'm missing something.
I got my first JavaFx project working, recreating an app I built in another framework [Qt].
Figured out how to build the dialog to function correctly, built a new empty project and copied the FXML file into it, changed the names of things in the prototype project - renaming is very nice [ and necessary] -to appropriate names etc.
So as I modify the fxml file using SceneBuilder to add ids and actions things seem to behaveas in other platforms that I recall. But… When I save the file in SceneBuilder and then go back to Intellij - nothing happens. Until I try to run it. Did I miss the button to press in IntelliJ to just automatically build all the missed connections - objects / methods?
When try to run, of course I get all the connections between the FXML file and the Controller reported as errors. It looks like it is easy enough to go through the errors one at a time - I found the button. And the guess gets it right every time - at least it looks that way. But all other platforms I've used just have a button saying “Fix up the connections between the GUI Spec and the Code” . Did I miss this button in Intellij or is it supposed to work by fixing each error, one at a time? Look. I think the fix up thing is great. But I don't really need one at a time.
I followed quite a few video examples / tutorials for IntelliJ / JavaFx and nobody mentioned this. They always just seemed to type the variables / methods in manually. Of course they only had 2 or 3, and I've got maybe 30 connections.
What's the story? Did I miss it, or is this a Plan for the Future?
Thanks
请先登录再写评论。
Yep. I see that. Not clear why. Is there concern it won't be done correctly?