In this tutorial, I will show you how to use an Event Handler using JavaFX 15 or later with IntelliJ 2020.3 on Windows 10 x64.
This Event Handler interface contains the handle method for processing action event. This abstract method must be overridden to respond to the event.
You may use
- a concrete class to implement an abstract handle method it OR
- an Inner class OR
- an anonymous inner class OR
- lambda expressions OR
- SceneBuilder's private method.
VM options
--module-path "C:\Program Files\Java\javafx-sdk-15.0.1\lib"
--add-modules javafx.controls,javafx.fxml
#JavaFX15 #IntelliJ