Hey Guys
I am doing project on java.
In one of the class, I am working on jtable.
Now what i am doing is,
- In the table data will be loaded from the database.
Now i want to change some value at some exact row and column.
so for that i am using jtable's setValue function. which is like this....
grayCardTbl.setValueAt(Float.valueOf(String.valueOf(pdiff)),1,4);
I have checked the "pdiff" variable, it is perfect.
i had total 5 columns and 10 rows. So now problem with rowindex and column index.
and after this i have also refresh the table. but still it is not reflecting on table.