File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bring front of other application when key pressed

 
Madhusudan Banik
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i want to bring front my application get focused when certain key pressed (let F10 ). For example, i started my application then windows media player, my application lost focused. Now if i press F10, i want my application get focused. Any idea will be appreciated.
 
Rob Camick
Ranch Hand
Posts: 2475
8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't do this in Java. This is OS dependent functionality.

Java can only respond to events received when the application has focus.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic