Can Java Objects call JavaFX objects?