Validation support for javafx