I need some advice on the way I'm should be doing something like this...
My main GUI is composed of a JTable and query box for custom SQL user queries.
I execute a SQL query, from the ResultSet, map the ResultSet an ArrayList<Object>, parse it to a tableModel class extends AbstractTableModel and display it in a JTable and hope it work.
I was told by teacher that it's also a good idea to say make a class for each table to hold the data types and map ResultsSets to that table class... I didn't quite understand and is confused. I'm not sure what it really means but I can map classes for each table to store data, but I get the resultset = statement.executeQuery(...), how am I supposed to use those classes that represent each table? ...