JavaFX : Use a Thread more than once
问题 I'm new with JavaFX and I've a little problem with a thread: I can execute it twice and I can't find why. Here is a sum-upt of my code: Task<Void> task = new Task<Void>() { @Override public Void call() throws ImageLoadedException, HomographyException, IOException { try{ System.out.println("GO !"); return null; } catch (Exception e){ e.printStackTrace(); } return null; } @Override protected void succeeded() { super.succeeded(); System.out.println("SUCCEEDED"); } }; @FXML protected void launch