Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IntelliJ - how to generate/update controller from FXML

RDarrylROct 1 2013 — edited Oct 1 2013

If this isn't appropriate to ask here just tell me and ignore...

I wanted to try out IntelliJ IDEA for working with JavaFX 2.2 and 8. I'm planning to start using FXML and SceneBuilder for my UI design from now on and I can't figure out one feature that is in netbeans related to FXML.

I searched online and at the Jetbrains site and in-app help but didn't find an answer. Is there a way to create or update the FXML controller class in IntelliJ IDEA (version  12.1.4 is the one I have) after editing the FXML file in SceneBuilder 1.1? I have it launching SceneBuilder 1.1 fine from IntelliJ but after I add controls and change action methods they don't get reflected in the controller class in my IDEA project. I don't see any way to update or create the controller in IDEA after changing  the FXML. In Netbeans 7.4 RC1 there is a "Make Controller" right click option on the fxml files which does what I want. Maybe I'm just blind or IDEA doesn't have this feature?

This post has been answered by jsmith on Oct 1 2013
Jump to Answer

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 29 2013
Added on Oct 1 2013
3 comments
10,390 views