I am making an UI with Scenebuilder and I noticed that this: (SceneBuilder preview)
Was sightly different than this: (Eclipse execution)
So I tried to make it simple (without dynamically added elements and those things).
Same results. This is the Scene Builder preview:
Every time I execute a Stage I get a system print which says:
mar 22, 2018 12:17:21 AM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 9.0.1 by JavaFX runtime of version 8.0.101
Solved it! I was useing an older JRE version. I was useing javafx 9.0.1 and JRE 8.0.161
So i just downloaded JRE 9, changed it on Window -> Preferences -> Java -> installed JREs -> add
and created a new project, copied everything and it worked. Now the red error is not showing.
Update: I ended downgrading again to 1.8... Its been imposible to manage all the problems that JRE 9 were giveing to me. I guess my destiny is to have a bigger window than I want...
Upadate 2: I downloades SceneBuilder 8. Now I don't get the compatibility error but the frame stills being better.