item.addActionListener(new AbstractAction() {
private WorkflowModifierGUI modifierGUI;
public void actionPerformed(ActionEvent event) {
if (this.modifierGUI == null) {
this.modifierGUI = new WorkflowModifierGUI(
MonitorMenu.this.engine);
}
// Errors are handled inside.
this.modifierGUI.createDifference();
}