/** Executed when the button is pushed. Sets the legend visible or not.*/
public void execute(){
if (myDialog == null) {
myDialog = new JDialog(getGISEditor());
RasterCatalogCreatorApplication tempApplication = new RasterCatalogCreatorApplication();
tempApplication.setFrame(myDialog);
myDialog.setContentPane(tempApplication);
myDialog.pack();
myDialog.setTitle("Raster Catalog Creator");
}
myDialog.show();