Hi,
Is there a way to detect the Windows context menu key to trigger a
JPopupMenu?
I often work without a mouse (on a laptop) and am used to working with the
context menu key. It would be great if my Swing GUIS would handle this the
same way as native Windows apps.
Thanks
-Laurens
|
|
0
|
|
|
|
Reply
|
Laurens
|
9/3/2003 2:03:15 PM |
|
Laurens wrote
> Is there a way to detect the Windows context menu key to trigger a
> JPopupMenu?
I case you haven't noticed: Shift-F10 is already mapped for this (for all
Look and Feels).
Regards,
--
Filip Larsen
|
|
0
|
|
|
|
Reply
|
Filip
|
9/3/2003 7:50:26 PM
|
|
Laurens wrote
> > Is there a way to detect the Windows context menu key to trigger a
> > JPopupMenu?
and I answered
> I case you haven't noticed: Shift-F10 is already mapped for this (for all
> Look and Feels).
After a little check I can see that I must have confused the behaviour of
some proprietary setup code as being standard J2SE behaviour, sorry. All
that appears to be standard, is the mention on the key assignment page that
shift-F10 do "post menu".
Regards,
--
Filip Larsen
|
|
0
|
|
|
|
Reply
|
Filip
|
9/4/2003 5:08:15 AM
|
|