So I am aware that JavaFx\'s method of updating the GUI while using a thread is called Task but does the code work in similar way or are there any differences. let me give y
Are you looking for SwingUtil.invokeLater counterparts in JavaFX. If yes, it is:
Platform.runLater(java.lang.Runnable runnable)