Paul Clapham wrote:
As far as I can see you aren't adding this JTable to your GUI. Did you perhaps already create a JTable object, assign it to that dTable variable, and put it into your GUI in some initialization code? If so, then assigning another JTable object to the variable won't have any effect on that. Remember, the components you add into your GUI are objects, not variables.
So (again, if I guessed right) don't create a new JTable. Use the one you already have instead:
Ahh yes, you did guess right. It is working now i am using dTable.setModel().
Thank You!