im.put(key, "close-window");
dialog.getRootPane().getActionMap().put("close-window", new AbstractAction() {
private static final long serialVersionUID = 1L;
@Override
public void actionPerformed(ActionEvent e) {
JSheet.showConfirmSheet(dialog, "カルテに展開しますか?", new SheetListener(){
@Override
public void optionSelected(SheetEvent se) {
// 0=はい, 1=いいえ, 2=キャンセル -1=エスケープキー
// System.out.println("se=" + se.getOption());
if (se.getOption() == 0) {