I want to add a method to a button which is defined in my Controller class
Controller
in the console is only an error which tells me that it couldn\'t find the met
Replace:
import java.awt.event.ActionEvent;
with:
import javafx.event.ActionEvent;