• Post Reply Bookmark Topic Watch Topic
  • New Topic

different between onBackPressed() and onKeyDown methods  RSS feed

 
Ranch Hand
Posts: 1276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the different between onBackPressed() and onKeyDown methods ?It seems both are same.
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you figure that? They're not triggered by the same GUI events.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!