Added JavaFX support for enterText
Minor fixes