Coding - HMI JavaFX - Parent dependence