Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why is the column data not displaying?

 
Jade Davidson
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't know whether to post this here or on JDBC. I thought I would start here, since I am still a beginner... This is my Java final project and I am desperate. I don't understand why the table and column data are not displaying. Is it a JDBC issue? Or am I adding them wrong?
This is the code:
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jade
Are you sure your getting a result back? Thrown in a System.out.println in your while loop to make sure you actaully get into it - so you know your getting data.
I didn't go through it in real detail but as a start try adding the lists to the panels after they've been created and then add the panels to the frame - that way you dont have to worry about revalidating or anything like that.
are you getting any errors?
If that doesn't work let me know and I'l check it our further and test it myself
Also, it is more of a JDBC issue so I'll move it there - unles sit turns out to be a swing issue then we can always move it again
[ February 24, 2002: Message edited by: Dave Vick ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic