tableServiceList.setDefaultRenderer(Object.class, new TableCellRendererNewSerRen(forceDiscountMap));
setEnabledComponents();
}
private void resizeColumn() {
TableState state = new TableState();
state.setPreferredWidth(TableModelContractList.COL_INDEX, 2);
state.setPreferredWidth(TableModelContractList.COL_TYPE, 3);
state.setPreferredWidth(TableModelContractList.COL_ENTERPRISE, 4);
StateSaver.setDefaultState(this, tableContractList, state);
state = new TableState();
state.setPreferredWidth(TableModelServiceList.COL_SERVICE, 6);
state.setPreferredWidth(TableModelServiceList.COL_PRICE, 4);
state.setPreferredWidth(TableModelServiceList.COL_MONEY, 7);
state.setPreferredWidth(TableModelServiceList.COL_REST, 4);
state.setPreferredWidth(TableModelServiceList.COL_DISCOUNT, 4);
state.setPreferredWidth(TableModelServiceList.COL_REST_DISCOUNT, 5);
StateSaver.setDefaultState(this, tableServiceList, state);
}