EventHandler not working in 11.0.2
Rachel Greenham
rachel at merus.eu
Sat Mar 30 12:01:03 UTC 2019
IntelliJ's code completion looks to be wrong then. Just delete the
"(EventHandler<T>)"
On 27/03/2019 18:29, Andrew Munn wrote:
> 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
>
> Thanks
More information about the openjfx-dev
mailing list