Added new methods to JavaFXUtilities