tc.setCellRenderer(new SpreadSheetCellRendererAdapter(new PercentRenderer()));
else
tc.setCellRenderer(new SpreadSheetCellRendererAdapter(new SimpleRenderer()));
tc.setCellEditor(new SpreadSheetCellEditorAdapter(new SpinEditor(field)));
} 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()) {