}
private class MDIViewListener extends ViewAdapter {
public void viewSelected(ViewEvent e) {
JComponent jc = e.getView();
View view = getView(jc);
// FIXME: for some reason, closing
// a view also causes that view
// to be selected after it is
// closed?