Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Turn off editing in a JTable  RSS feed

 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I turn off editing of all cells w/in a JTable? Do I have to subclass JTable and override the method "isCellEditable" ? Or is there a better way?


Thanks,
Mike
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also do this with DefaultTableModel
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!