java - Switching scenes at correct time in JavaFx -
my question switching scenes on ui. trying switch scenes reload javafx program. want loading scene appear before refresh user knows data being loaded. here code:
@fxml private void restartvalidation(actionevent e) throws ioexception, interruptedexception, invalidreferenceexception { sceneresponsibilities.setvisible(true); scenedeviceproperties.setvisible(false); scenearticlenumbers.setvisible(false); scenebusservice.setvisible(false); scenedtc.setvisible(false); scenedp.setvisible(false); noerrors.setvisible(false); runinitializationofvalidation(); }
i want able go scene sceneresponsibilities before reload data. code seems directly go runinitializaitonofvalidation()
. when go debug mode shows of setvisible
code ran, sceneresponsibilities
not shown on ui. have no clue why is. ideas?
Comments
Post a Comment