File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes cannot resolve symbol ResultSetTableModel... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "cannot resolve symbol ResultSetTableModel..." Watch "cannot resolve symbol ResultSetTableModel..." New topic

cannot resolve symbol ResultSetTableModel...

pingkan paula
Ranch Hand

Joined: Sep 03, 2004
Posts: 117
hi everyone,i've created a student application which connect to MySQL database using JDBC.When i started compiling ,3 errors occured and all of them mention about the unidentified object which i declare as Private ResultSetTableModel tableModel.

Is there any other classes as an alternative to class ResultSetTableModel?
By the way ,i use this ResultSetTableModel as a container which store the data requested by user and will be use as a parameter in JTable instantiation-> JTable resultTable=new JTable(tableModel).
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

I don't find a class like yours in the javadocs.
Where did you get idea to use it?

and you don't declare it as Private, but as private, I hope!
Mike Rainville
Ranch Hand

Joined: May 29, 2004
Posts: 36
It's not part of J2SE. This article includes a link for downloading the source code.

Making SQL Queries with JDBC and Displaying Results with Swing by David Flanagan
[ October 02, 2004: Message edited by: Mike Rainville ]
I agree. Here's the link:
subject: cannot resolve symbol ResultSetTableModel...
It's not a secret anymore!