Changing JTable Cell's Font while editing it
问题 I have set the default font in my JTable as show below myTable.setFont(new java.awt.Font("Verdana", 1, 10)); I wanted to show a bigger font in my JTable,while some data is being typed into the cells.So I used MyTableCellEditor custom class. public class MyTableCellEditor extends AbstractCellEditor implements TableCellEditor { JComponent component = new JTextField(); public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int rowIndex, int vColIndex) { (