Aadi
Aadi

Reputation: 7109

JTable and Database in Swing

I need to load database content into a JTable. Many times I search for help. Please anybody can refer a tutorial please, otherwise anybody can help me to do so.

Upvotes: 0

Views: 4608

Answers (1)

Michael Borgwardt
Michael Borgwardt

Reputation: 346260

Basically, you need to implement a TableModel that is backed by the database. Here's a simple example of how that could be done.

Upvotes: 3

Related Questions