@Override
		public void run() {
			Iterator<AbstractTaskInfo> it = runningList.iterator();

			while (it.hasNext()) {
				AbstractTaskInfo info = it.next();
				if (!(info instanceof TaskInfo)) {
					continue;
				}
				GScheduledTask task = ((TaskInfo) info).getScheduledTask();
				if (task == scheduledTask) {
					if (useAnimations) {
						scrollAwayList.add(info);
						startScrollingAwayAnimation(2000);
					}
					else {
						it.remove();
					}
					return;
				}
			}

			it = waitingList.iterator();
			while (it.hasNext()) {
				AbstractTaskInfo info = it.next();
				if (!(info instanceof TaskInfo)) {
					continue;
				}
				GScheduledTask task = ((TaskInfo) info).getScheduledTask();
				if (task == scheduledTask) {
					it.remove();
					return;
				}
			}
		}
Uses a layered pane to create a "watermark effect" to show when the GTaskManger is suspended.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/taskview/TaskViewer.java