File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Badass: Making Users Awesome this week in the Game Development 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: 19357

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