Paul Clapham wrote:I moved the thread to the JavaFX forum in the hope that people who knew something about JavaFX would see it.
I'm not one of those people but I'm sure that having your Application implement EventHandler is the wrong thing to do. It's been the wrong thing to do in Swing for over 15 years now and JavaFX isn't that different. So I tracked down a tutorial about how to use an EventHandler for a JavaFX Button:
Using JavaFX UI Controls
There's "back" and "forward" buttons there which I expect go to pages which deal with other kinds of control.
Campbell Ritchie wrote:Welcome to the Ranch
Please post your code here; people are often reluctant to go to distant websites.No, it isn't. Action events and action listeners are used in AWT/Swing, not FX. You have obviously had the misfortune to find the wrong sort of tutorial. I hardly know any FX, but you usually pass a λ to a setOnXXX() method. Let's see your code please.
Linden Garcia wrote:. . . related to action events and possibly action listener . . .