Do not call add() on the JScrollPane to add the table - use setViewportView (which is called in the constructor so there shouldn't be a need to make this call unless you wish to dynamically change...
Type: Posts; User: copeg
Do not call add() on the JScrollPane to add the table - use setViewportView (which is called in the constructor so there shouldn't be a need to make this call unless you wish to dynamically change...
How to Use Tables (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)