When I compile my app in release mode my File menu contains "DB Update" & "Close"
When I compile in debug mode my File menu only contains "Close"
Also just for testing I move my DBUpdate stuff to "Close" it tells me I must first initialize "ProgIndicator" which has been created with the design so I don't understand.
Ok commented out all d code from app start and no different. It seems like it loads a different fxml file because ProgIndicator (my progressindicator) which is created in the fxml is not initialised. In fact I just noticed when using the ide menu to goto edit layout any changes I make in scene builder only appear in the a compiled release mode, not in debug mode. So there must be different fxml files somewhere for debug vs release