oldLocation= currentDialogBox.getBounds().getLocation();
currentDialogBox.dispose();
}
ArrayList shapes = new ArrayList();
shapes.add(Plot.this);
PlotPropertiesDialogBox optionDialog = new PlotPropertiesDialogBox(JSynoptic.gui.getOwner(), panel, panel.getShapeName(), shapes);
if (oldLocation!=null)
optionDialog.setLocation(oldLocation);
currentDialogBox = optionDialog;
optionDialog.show();
}
}.start();
return true;
}