• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display JTable with mysql

 
philip dobson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Paul,
Good help .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic