TrayIcon with PopupMenu or JPopupMenu ?
- From: kermitas@xxxxxxxxx
- Date: 24 Feb 2007 04:49:13 -0800
Hi. (Sorry for my english.)
I spent last 10 whole days digging menu things in TrayIcon with no
success :((.
I have three guestions.
I can make JPopupWindow above MS-Windows task bar
( SwingUtilities.windowForComponent( JPupupMenu ).window.setAlwaysOnTop( true ) ) ,
but how to get keyboard focus/input ????
Looking back to normal PopupMenu ... when it pop up -> it blocks Event
Dispatch Thread (EDT) (even if I fire it manually .show() from new
Thread , I also tryed install new EventQueue ).
How to make non-blocking PopupMenu ? How to pop up via .show() without
"origin" ? ( MouseEvent of TrayIcon returns null in .getComponent() ).
I am using Java 6.0 b105 and u1 b03 at WinXP.
Does anybody know solutions ?
Thanks !
.
- Follow-Ups:
- Re: TrayIcon with PopupMenu or JPopupMenu ?
- From: a249
- Re: TrayIcon with PopupMenu or JPopupMenu ?
- Prev by Date: Problem JComboBox Editable getInputMap
- Next by Date: Ok, so where's the FM?
- Previous by thread: Problem JComboBox Editable getInputMap
- Next by thread: Re: TrayIcon with PopupMenu or JPopupMenu ?
- Index(es):