I'm having an issue trying with an assignment of mine. It reads:
Using the registrar database that you created in the previous task, write a Java Swing application that exercises these queries.
1.Develop a query to select all course rosters by instructor sorted by instructor and course name for fall semester 2009 (F09)
2.Develop a query to select all student schedules sorted by student for fall semester 2009 (F09).
Hint: The queries can just be typed in utilizing a jTextfield. The result of queries should be shown in a Swing Table.
So I updated the library which has the driver in my file. The GUI is suppose to retrieve the information from the database and place it in a Text Area (which is a table) when you click on the Submit button (which is the action handler). Below is what I have for the connection and startup for the Submit button. The code doesn't have any errors here. But when I try to add in a ResultSetTable which retrieves the code, that is where I am getting errors and I'm not sure what I'm doing wrong. In example A is the code without the ResultSetTable. Example B is the ResultSetTable. Any help would be appreciative.
Also in the first class of Example B, its asking for a return statement but I'm not sure what I need to return.
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