• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable listener  RSS feed

 
selvas kumars
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
What will be the listener for editing a cell, so i can do some validations??
regards,
selva.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use your own DefaultTableModel, setValueAt() method is a good place for it. You can also create custom cell editors to to the job.
 
selvas kumars
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi paul,
it's working fine..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!