Hello ,
I have a JTable with the model " Names " , " Quantity " and "
Unit " .
I'm coding a program where you get the ingredients names.
So i need to get the whole row of one column and
String it all up together,
because i need to store it in mySql and i have already set it all as String.
Any idea how i can do this ?
My code are as follows :
JTable Code:
Getting the values and for storing :
This is for loop is wrong and it does not work because i have a constructor to take in Ingredients but because it is inside the loop, it cannot take it in.
Any suggestions please ? Thank you.