It's not a secret anymore!
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Display JTable with mysql" Watch "Display JTable with mysql" New topic
Author

Display JTable with mysql

philip dobson
Greenhorn

Joined: Apr 03, 2009
Posts: 2
Hello,
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
Sheriff

Joined: Oct 14, 2005
Posts: 19760
    
  10

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
Greenhorn

Joined: Apr 03, 2009
Posts: 2
Thank you Paul,
Good help .
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Display JTable with mysql
 
It's not a secret anymore!