JTable Null value
sir
i am using a JTable of 9 rows and 3 coloumn
and i want to retrive value of (8,2) cell but it is returning null value but the value is present in the cell please help me out
TableModel model = jTable1.getModel();
int rows=jTable1.getRowCount();
int cols=jTable1.getColumnCount();
StringBuffer strb=new StringBuffer();
String data=null;
for (int i = 0; i< 9; i++)
{
for (int j = 0; j < 3; j++)
{
strb.append(model.getValueAt(i,j)+",");
}
}
System.out.println(strb);
System.out.println(jTable1.getValueAt(rows,cols)+"go");

