This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes why is the column data not displaying? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "why is the column data not displaying?" Watch "why is the column data not displaying?" New topic
Author

why is the column data not displaying?

Jade Davidson
Ranch Hand

Joined: Oct 12, 2001
Posts: 64
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

Joined: May 10, 2001
Posts: 3244
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 ]

Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why is the column data not displaying?