Multiple Resultset in Jtable
I'm new to this forum so please go easy on me. I've been browsing around but can't seem to find a solution to my problem. I've attached a resultset to a jtable so it displays the specific database table in the jtable. the problem is I want to add a search feature (a combo box to choose what the user wants to search by, textfield with a search button), so once the search button is pressed the jtable is populated with only the searched results.
I've attached the class with the problem. I've using netbeans so thats why the code might seem a little weird. by the way I used the following tutorial to display the resultset in the jtable in the first place:
Any help would be appreciated, even a notch in the right directions.