131132133134135136137138139140141
ItemTreeState state = new ItemTreeState(); 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);
441442443444445446447448449450451
if (!customizer.initializeDialog(this, dlg)) return; } // Build the tree, expanding the first level and the currently selected item dlg.rebuildTree(); dlg.expand(1); dlg.restoreState(state); dlg.addWindowListener(new WindowAdapter() {