This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android forum!
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: 19662
    
  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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display JTable with mysql
 
jQuery in Action, 3rd edition