Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use ResultSetTableModel ?

807569Jun 2 2006 — edited Jun 2 2006
I am trying to create an application that will query a database and display the results properly formatted. I have included a variable of type ResultSetTableModel and the compiler wont recognise it. What classes do I need to include. I have included the following already:

import javax.swing.JTable;
import java.sql.SQLException;
import java.sql.ResultSet;
import java.sql.*;



Here are the error messages:

Severity Description Resource In Folder Location Creation Time Id
2 ResultSetTableModel cannot be resolved to a type DisplayQueryResults.java DietelsQueryResultsDisplay

Severity Description Resource In Folder Location Creation Time Id
2 ResultSetTableModel cannot be resolved to a type DisplayQueryResults.java DietelsQueryResultsDisplay

Message was edited by:
weziw
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2006
Added on Jun 2 2006
1 comment
239 views