• Post Reply Bookmark Topic Watch Topic
  • New Topic

Horrid JTable problem - any ideas

 
Graham Russell
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!