Cell Boolean « JTable « Java Swing Q&A





1. JTable Boolean cell .. how to read it    stackoverflow.com

i have a table with a column that contains Boolean type. now when i try to run a program i have a problem:

System.out.println(table.getColumnClass(5));
b= (Boolean)table.getValueAt(row, 5); It prints
class java.lang.Boolean
but also:
Exception in thread ...