Oct 22, 2002 #1 LucyL Technical User Feb 20, 2002 113 US Hi, I want to pull data from a sql table and place in a table. any ideas? tx
Oct 22, 2002 #2 scrat Programmer Apr 12, 2002 52 US Hi LucyL, There is a package called java.sql which has classes like Connection, Statement and ResultSet which let you access databases through JDBC. http://java.sun.com/j2se/1.4/docs/api/java/sql/package-summary.html If you want to place the results in th visual table, the JTable would be a good bet, which is part of the javax.swing package. http://java.sun.com/j2se/1.4/docs/api/javax/swing/package-summary.html Both are HUGE subjects. Try the following for tutorials to get you going. Take it one step at a time. http://java.sun.com/docs/books/tutorial/jdbc/http://java.sun.com/docs/books/tutorial/uiswing/http://developer.java.sun.com/developer/onlineTraining/ Regards, scrat Upvote 0 Downvote
Hi LucyL, There is a package called java.sql which has classes like Connection, Statement and ResultSet which let you access databases through JDBC. http://java.sun.com/j2se/1.4/docs/api/java/sql/package-summary.html If you want to place the results in th visual table, the JTable would be a good bet, which is part of the javax.swing package. http://java.sun.com/j2se/1.4/docs/api/javax/swing/package-summary.html Both are HUGE subjects. Try the following for tutorials to get you going. Take it one step at a time. http://java.sun.com/docs/books/tutorial/jdbc/http://java.sun.com/docs/books/tutorial/uiswing/http://developer.java.sun.com/developer/onlineTraining/ Regards, scrat