EventHandler not working in 11.0.2

Andrew Munn andrew at nmedia.net
Wed Mar 27 18:29:00 UTC 2019

How do I listen for mouse events in 11.0.2? IntelliJ's code completion 
suggests this:

textField.addEventHandler(MouseEvent.MOUSE_ENTERED, (EventHandler<T>) t -> {
 // do something

but it fails to compile with error: cannot find symbol T


More information about the openjfx-dev mailing list