menuItem.addActionListener(new AbstractAction() {
private ParameterPropertyWindow window;
public void actionPerformed(ActionEvent e) {
if (this.window == null) {
this.window = new ParameterPropertyWindow(EditMenuItem.this.engine);
}
this.window.show();
}
});
return menuItem;