Posts by Flávio Santos TD • 16 points
1 post
-
0
votes2
answers2574
viewsA: Exception in thread "Javafx Application Thread" open FXML inside an Anchorpane
I was getting exactly the same mistake, and I solved it in a way. Nothing to do. Instead of using this line: Parent root = FXMLLoader.load(getClass().getResource("Layout.fxml")); I did that: URL url…