• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting keyevents when JFrame.setVisible(false)

 
Devasia Manuel
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible get KeyEvents even when the JFrame is not in focus or not visible? Please let me know how...

--Dev
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not possible.
 
Devasia Manuel
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think it is immpossible since i have seen macro recording programs written in java and they can get keyevents when the JFrame is not visible
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Devasia Manuel:
I dont think it is immpossible since i have seen macro recording programs written in java and they can get keyevents when the JFrame is not visible


This sounds interesting.
Can you provide us some links?
 
Devasia Manuel
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Several of these are written in java...

http://www.freedownloadscenter.com/Search/macro_recorder.html
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!