133134135136137138139140141142143
state.addExpandedQualifier(model.getQualifier()); // Build the tree, expanding the first level and the currently selected item dlg.rebuildTree(); dlg.expand(1); dlg.restoreState(state); // Show the dialog dlg.setVisible(true); List selection = dlg.getSelectedObjects();
443444445446447448449450451452453
} // Build the tree, expanding the first level and the currently selected item dlg.rebuildTree(); dlg.expand(1); dlg.restoreState(state); dlg.addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent we) {