wood burning stoves 2.0*
The moose likes Java in General and the fly likes Windows Keys and Java Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Windows Keys and Java Application" Watch "Windows Keys and Java Application" New topic
Author

Windows Keys and Java Application

John P Coffey
Greenhorn

Joined: Jul 02, 2010
Posts: 3
I'm not sure if this is the correct place to pose this question, but here goes anyhow. Does anyone know why the Windows Key + the arrow keys do not work in a Java Application. Is there some magic initializer api I need to call to make sure that my app does the appropriate windows thing when these keys are pressed. I note that netbeans (my ide) does the right thing (maximizing, restoring and positioning the ide appropriately - the thing that these windows 7 new keyboard combinations is supposed to do).
Thanks
John
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
You need to handle those in your app. The JVM does not catch and handle those for you. Maybe there's some Windows API you could call if you want to minimize/restore the app.
 
 
subject: Windows Keys and Java Application