• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with key event in jtable  RSS feed

 
yash bhatnagar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to handle a key event in jtable my requirement is that on pressing function key f2 i should be able to save the row selected from the jtablecan anybody help me...............is urgent.........
yash
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your listener code something likethe following:
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!