File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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...
I agree. Here's the link:
subject: Horrid JTable problem - any ideas
It's not a secret anymore!