Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable not showing automatically at startup  RSS feed

 
tan kian
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my jtable will show up normally if i use normal colors in setBackground, but it will not display properly once i use this line: mod.getcell(row,col).getcolor() . is there something wrong with my newmodel or cell class?
 
tan kian
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its ok, i solved it myself. there was a prob with my cell getting method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!