Using Scene Buulder with JavaFX
Hi! After reading Scott Hommel's "Working with Canvas", I built a simple application that just contained a Canvas, fx:id canvas. The controller file linked this object using the code:- @FXML; private Canvas canvas;
But in the main application file the word canvas is underlined in red. How do I fix this?