}
}
query.addChoice("case", "Remove case", caseNames, caseNames[0]);
ComponentDialog dialog = new ComponentDialog(
CaseGraphFrame.this, "Remove Case", query);
if (dialog.buttonPressed().equals("OK")) {
final String name = query.getStringValue("case");
String moml = "<deleteEntity name=\""
+ StringUtilities.escapeForXML(name) + "\"/>";
// The following is, regrettably, copied from ModalTransitionController.