using javafx properties