Hello, I'm experimenting with Java FX on a Windows 7 machine, using Java 1.8.0_40.
The Font javadoc says : import javafx.scene.control.TextArea; import javafx.scene.text.Font; import javafx.scene.text.FontPosture; TextArea editor = new TextArea(); editor.setFont(Font.font("Consolas", FontPosture.REGULAR, 10));