a utility class for JavaFX related API