.getXYPlot());
      dialog.setVisible(true);
    }
    if (command.equals("SETUP_COLORS")) {
      InterpolatingLookupPaintScaleSetupDialog colorDialog = new InterpolatingLookupPaintScaleSetupDialog(
          plot.getPaintScale());
      colorDialog.setVisible(true);
      if (colorDialog.getExitCode() == ExitCode.OK)
        plot.setPaintScale(colorDialog.getPaintScale());
    }
  }