This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
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:
posted 14 years ago
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 ]