treeSection.setModel(new TreeModelDloSection(dirSection));
treeSection.setSelectionPath(null);
}
private void resizeColumns() {
TableState state = new TableState();
state.setPreferredWidth(TableModelDrugList.COL_CODE, 2);
state.setPreferredWidth(TableModelDrugList.COL_TITLE, 10);
state.setPreferredWidth(TableModelDrugList.COL_TRN, 10);
state.setPreferredWidth(TableModelDrugList.COL_MNN, 10);
state.setPreferredWidth(TableModelDrugList.COL_LF, 7);
state.setPreferredWidth(TableModelDrugList.COL_DOSAGE, 6);
state.setPreferredWidth(TableModelDrugList.COL_DOSAGE_UNIT, 3);
state.setPreferredWidth(TableModelDrugList.COL_DOSAGE_QUANTITY, 3);
state.setPreferredWidth(TableModelDrugList.COL_BEGIN, 4);
state.setPreferredWidth(TableModelDrugList.COL_END, 4);
StateSaver.setDefaultState(this, tableDrugListGroup, state);
}