Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Horrid JTable problem - any ideas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Horrid JTable problem - any ideas" Watch "Horrid JTable problem - any ideas" New topic

Horrid JTable problem - any ideas

Graham Russell

Joined: Jul 15, 2004
Posts: 6
I have got my Jtable program (extending AbstractTableModel) calling the server and coming back with the results of user-defined searches. I have found that it comes back with 6 records and that on the first 5 calls to getRowCount the data is fine. But on the 6th call it is suddenly empty.

Return vector is 36 (rowCount = 6)
Return vector : [Dogs With Tools , Smallville , Roofing , 7 , $35.00 , ,

& on the 6th call..
Return vector is 0
Return vector : []

Any ideas would be useful...
Have you tried LearnNowOnline?
subject: Horrid JTable problem - any ideas