@Override
		public void add(@Nonnull Runnable runnable) {
			synchronized (tasks) {
				tasks.add(runnable);
			}
		}
Batch implementation that executes all tasks on the FX thread.
recaf-ui/src/main/java/software/coley/recaf/util/FxThreadUtil.java