wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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!
 
Similar Threads
Repaint and Applet
why is the column data not displaying?
java.awt what is going on???
why is the column data not displaying?
how to display list data on separate lines?