• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot resolve symbol ResultSetTableModel...

 
pingkan paula
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic