JTable problem

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2004
Posts: 6
Reputation: grussell is an unknown quantity at this point 
Solved Threads: 0
grussell grussell is offline Offline
Newbie Poster

JTable problem

 
0
  #1
Dec 27th, 2004
I have been experimenting with my Java problem whereby my JTable class was not calling getValueAt.

I got it to call getValueAt by making sure getRowCount sent back the right value and then found that the Vector was empty. When the Vector comes back from the server it has a value, but in getValueAt it does not.

Does anybody have any idea why the vector is empty in getValueAt ?
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 46
Reputation: Gargol is an unknown quantity at this point 
Solved Threads: 1
Gargol's Avatar
Gargol Gargol is offline Offline
Light Poster

Re: JTable problem

 
0
  #2
Oct 31st, 2005
Make sure getColumnCount returns non-zero too.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC