Thank you ...finally i get the solution :)
Here it is:
public Object extractTable(JTable table, int row_index, int col_index){
return table.getModel().getValueAt(row_index, col_index);
}
...
Type: Posts; User: nandosby
Thank you ...finally i get the solution :)
Here it is:
public Object extractTable(JTable table, int row_index, int col_index){
return table.getModel().getValueAt(row_index, col_index);
}
...
I have five columns in my jTable and I want to retreive the data from the second column to an array
my jTable can be like this:
Column1 Column2 Column3
50.45 45.56 34.56...
Hello...
I'm new in this forum.
I want to know much about java. I hope colleagues can help me
Thank you :)