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.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads