} else if (field.isRate()) {
tc.setCellRenderer(new SpreadSheetCellRendererAdapter(new RateRenderer()));
tc.setCellEditor(new SpreadSheetCellEditorAdapter(new RateEditor(null, field.isMoney(),field.isPercent(),true)));
} else if (field.isMoney()) {
tc.setCellRenderer(new SpreadSheetCellRendererAdapter(new SimpleRenderer()));
tc.setCellEditor(new SpreadSheetCellEditorAdapter(new MoneyEditor()));
} else if (field.isPercent()) {
tc.setCellRenderer(new SpreadSheetCellRendererAdapter(new PercentRenderer()));
} else if (field.isDate()) {
tc.setCellRenderer(new SpreadSheetCellRendererAdapter(new DateRenderer()));
} else if (field.isBoolean()){