I have just began building a JavaFX application in IntelliJ using the latest Java7 SDK.
I have built my interface using Oracle Scene Builder, everything runs and dis
It turns out I needed to manually link the stylesheet in my start() method as JavaFX7 does not support the stylesheets tag.
To fix this I called the following command in my Start() method
root.getStylesheets().add(this.getClass().getResource("view/MainView.css").toExternalForm());
Where root
is the name of my FXMLLoader.