JavaFX problem with class *.java