Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable and Cell

 
vinaya kumar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I Wanna to have cell uneditable in JTable
I am using defaulttablemodel,
how do i do it!!
If i extend this class and override isCellEditable...
While setting the columnwidth,
i get an error! saying
getColumn() method says! null pointer expection

initColumnwidth(columnsizes[])
tabeModel.getColumnModel().getColumn(i);
Thanks
vinaya

anybody have any clue in this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic