I am setting the renderer of a JTable using setDefaultTableRenderer.
JTable table = new JTable();
table.setDefaultRenderer(Object.class,MyRenderer);
MyRenderer extends DefaultTableCellRenderer and overrides paintComponent and getTableCellRendererComponent.
I have 4 rows and 8 columns and for strange reason my renderer methods are not called for first two columns of the first row.I use the SwingUtilites.invoke methods to call my GUI and its working for all other columns except these two columns.