Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FullScreenWindow and Accelerator Keys



I've tried attaching accelerator keys to an application that is using
FullScreenWindow with the normal method:

registerKeyboardAction(deleteListener, "StoryboardDelete",
KeyStroke.getKeyStroke(KeyEvent.VK_BACK_SPACE, 0),
WHEN_IN_FOCUSED_WINDOW);

These work fine if I do not turn on the FullScreenWindow, but fail when I do.
How do I use accelerator keys with FullScreenWindow?

Mike Westerfield

I have a full screen window containing a QTCanvas. I add a KeyListener to the canvas and explicitly request focus on the canvas.

-Rolf
--
Rolf Howarth, Square Box Systems Ltd, Stratford-upon-Avon UK.
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.

References: 
 >FullScreenWindow and Accelerator Keys (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.