table = new JTable();table.setDefaultRenderer(Messung.class,new MessungsRenderer());
public Class getColumnClass(int col) { switch (col) { case 0: return String.class; case 1: return String.class; case 2: return Integer.class; case 3: return Integer.class; case 4: return Integer.class; case 5: return Double.class; } return Object.class;}
table = new JTable();table.setDefaultRenderer(Double.class,new MessungsRenderer());