File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes new to JDBC - please help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "new to JDBC - please help!" Watch "new to JDBC - please help!" New topic
Author

new to JDBC - please help!

Jade Davidson
Ranch Hand

Joined: Oct 12, 2001
Posts: 64
I am doing my final project for my Java class. I have to build a GUI application that communicates with a database using SQL. When the program loads, the first table in the database is supposed to display in the first listbox, and its columns are supposed to display in the second. Then I am going to use getSelectedItem to click on the next table and display its columns, but I didn't get that far yet.
My problem is that when I load the program nothing displays in the listbox. I don't understand what is wrong. It is probably something obvious, but I am confused. Am I adding it wrong? If someone could look at my code and give me some idea of what is wrong, I would appreciate it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new to JDBC - please help!