public void showTaskManager() {
		if (!EventQueue.isDispatchThread())
			throw new RuntimeException("must be called in event thread.");
		Job job = getModel().getJob();
		if (job != null) {
			job.show(this);
		} else {
			JOptionPane.showMessageDialog(JOptionPane.getFrameForComponent(this), "There is no task yet. Please run the model.", "No task assigned", JOptionPane.WARNING_MESSAGE);
		}
	}