I am trying to insert the values that were selected in a jtable.
I know how to display the sql results in a table but don't how to add the selected values into it.
Example: only display the items that the users has searched for and add them to the table.
So I have a text field, and all the entries that are typed in this text field(once at a time) needs to be added up to the table.
Any tips how I can achieve that?
I am not asking for any direct code solution just to get an idea on how I could achieve that?
I guess I could do row1 = entry one, row 2 = entry 2 ect.. but I don't think that's pratical.