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!

JavaFX 2.2 initialize is not called when using ControllerFactory

954677Aug 8 2012 — edited Aug 9 2012
Is there a reason why the initialize method isn't called when specifing a controller factory (by calling FXMLLoader#setControllerFactory) instead of an instance of a controller (via FXMLLoader#setControllerFactory)? By "initialize" method I'm referring to any of the following:
public void initialize()
@FXML private void initialize()
@Override public void initialize(URL, ResourceBundle) /*as defined in the Initializable*/
Edited by: 951674 on Aug 8, 2012 12:27 PM
This post has been answered by 885691 on Aug 9 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2012
Added on Aug 8 2012
12 comments
7,736 views