I am trying to extract data from a mysql database table and display it on a jtable.
I already created the table in which I would like to display the data and the connection to the database. I found different answers for this question but every single one of them implied the creation of a new table(which would be hard for me because my table is alreary located in a frame and a panel).
I don't want to display all the information from the table so I'd like to use a sql statement (e.g. "select * from bilete where nrbilet=100;").
How could I do it?