I know how to use action listener. I know how to display query data into a jtable when you open the form. I followed the example on: http://www.netbeans.org/kb/articles/mysql-client.html
. I just want to be able to input data into the textbox, press the textbox and have information related to what i typed into the textbox displayed on the jtable.
I still don't understand the problem.
> I know how to use action listener.
Then add the ActionListener to the text field
> I know how to display query data into a jtable when you open the form.
Well you build the model the same way. A query is a query. So once you've built your TableModel from the ResultSet you simply do:
table.setModel( modelYouJustCreated );
you can build a tablemodel by extending DefaultTableModel. and if your using hibernate or something simliar, you can pass in your result lists into your table model, and reference them in the getValueAt method. or like camickr said, just pass your resultset into your table model, or build it using your resultset. lots of ways to do it. your question is too generic, be more specific as to what excatly you need help with.