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
67.78 23.34 56.67
45.34 12.34 23.34
34.67 10.10 34.56
The problem is how to retreive all of value in the second column (column2) so the output
may be like:
double[] data = {
45.56,
23.34,
12.34,
10.10
}
Can anyone please give me a sample code, class or function to solve this problem. Thank you very much....