switch (orderPanelTypeEnum) {
case NEW_ORDERS:
tableOrders.setRowHeight(25);
tableOrders.getColumnModel().getColumn(6).setCellRenderer(
new TextPaneRendererCustomer());
ColorHighlighter greyPattern = new ColorHighlighter(
new PatternPredicate("90", 10), ColorEnum.GREY.getColor(),
null);
tableOrders.addHighlighter(greyPattern);
break;
case ASSEMBLY_ORDERS:
tableOrders.setRowHeight(25);
tableOrders.getColumnModel().getColumn(3).setCellRenderer(
new TextPaneRendererCustomer());
break;
}
setColumnWidth(orderPanelTypeEnum);