this is my first time writing on a forum. I hope I will be able to explain everything correctly.
So after hours of work I am still not getting my program to work. I am creating a GUI which if empty gives all data from database or if you enter last name it gives you last name and other data from that employee. I have already a database with data, now I am trying to connect to it, store the data in a list and then show it in a JTable.
my tableModel class
my class for connecting to DB and storing data to a list
and my gui
I hope there is someone who can give me some kind of a hint or solution of what I am doing wrong.