aspose file tools
The moose likes Swing / AWT / SWT / JFace and the fly likes TableModel-unable to locate error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "TableModel-unable to locate error" Watch "TableModel-unable to locate error" New topic
Author

TableModel-unable to locate error

Chak Terlapu
Ranch Hand

Joined: Oct 20, 2000
Posts: 32
Hi,
I am using TableModel to connect to a database and display the results. I am unable to display the table. It doesn't display anything. Below is the code from the TableModel I am using to connect to database. Could anyone help me find the errors please. any help would be ggreatly appreciated.
Thanks
Renee Zhang
Ranch Hand

Joined: Sep 10, 2001
Posts: 72
Move con.close(); outside while loop at first. You can't close the connection before you get all the data.
 
 
subject: TableModel-unable to locate error
 
Threads others viewed
Add Row with AbstractTableModel
tablemodel getcolumnclass() method produces null pointer exception
ResultSetMetaData problem, not returning data
No suitable driver error
display instance of oracle database vs. schema
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture