How to fill data in a JTable with database?
I would recommend taking the following approach: Create a Row class to represent a row read from your ResultSet. This could be a simple wrapper around an Object[]. Create a List<Row> collection, and subclass AbstractTableModel to be backed by this collection. Use a SwingWorker to populate your List<Row> by reading from the underlying ResultSet on … Read more