Hi, the cells should be selectable, but not editable. Do not find it. I am really a newby in Swing. Thanks in advance. Axel
posted 14 years ago
Hi Axel, a JTable has a model behind, a TableModel. You can either implement this or you extend from the DefaultTableModel. Anyway, there is a function isCellEditable(int row, int col). This function should return false in every case, then your table is not editable, but selectable. Ta have a good starting point, you should read the Table section of the Java Tutorial of SUN.