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
You were creating an FXML in Scene Builder 2 and running in JDK 7. SB 2 "tries to" create Java 8 compatible FXML code. To fix the FXML:
stylesheets="@MainView.css"
Add the below code at the end of parent pane, after (in my case it was before ):