This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Display JTable with mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Display JTable with mysql" Watch "Display JTable with mysql" New topic

Display JTable with mysql

philip dobson

Joined: Apr 03, 2009
Posts: 2
Sorry for my english.
I need help, please. I want to populate JTable with mysql, but my code don't work.
Please can anyone help me?
my code:

I don't see the result. Please explain me.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

You create a JTable (and it looks like you're doing it right) but you never add it to your GUI. That's why you don't see it.
philip dobson

Joined: Apr 03, 2009
Posts: 2
Thank you Paul,
Good help .
I agree. Here's the link:
subject: Display JTable with mysql
It's not a secret anymore!