File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "why is the column data not displaying?" Watch "why is the column data not displaying?" New topic

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
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 ]

I agree. Here's the link:
subject: why is the column data not displaying?
jQuery in Action, 3rd edition