* @param task Task
* @param callback Callback to be called when finished
*/
public void start(final Task<?> task, final BackgroundLoaderCallback callback) {
// Load the Log4jAppenderViewModel first so we miss as few logs as possible
Log4jAppenderViewModel log4model = new Log4jAppenderViewModel(this.getLog4jModel());
final PaneInfo<TaskExecutorController> paneInfo = JuFxUtils.loadPane(
JuUrl.resource().relativeTo(TaskExecutorController.class).get("TaskExecutor.fxml"), TaskExecutorController.class);
TaskExecutorController controller = paneInfo.getController();
controller.executeTask(task, new EventHandler<WorkerStateEvent>() {