I have been doing some research on this but I am still VERY confused to say the least.
Can anyone give me a concrete example of when to use Task and whe
Task
It can now be changed to lambda version
@Override public void actionPerformed(ActionEvent e) { Platform.runLater(() -> { try { //an event with a button maybe System.out.println("button is clicked"); } catch (IOException | COSVisitorException ex) { Exceptions.printStackTrace(ex); } }); }