File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Windows Keys and Java Application" Watch "Windows Keys and Java Application" New topic

Windows Keys and Java Application

John P Coffey

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).
Tim Moores

Joined: Sep 21, 2011
Posts: 2409
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.
I agree. Here's the link:
subject: Windows Keys and Java Application
It's not a secret anymore!