Tray icon not functional after suspended mode on Ubuntu 9.10
I'm seeing a strange effect on Ubuntu 9.10 (gnome desktop) with JDK 1.6.0_15:
The tray icon of our application works fine (popup menu is present, actions are invoked properly).
After putting the laptop into suspended mode and re-activating again, the tray icon is still displayed, tooltip is present, popup menu shows up on right-click, but when trying to invoke an action, nothing happens. ActionListener.actionPerformed() is not called.
One of our users (JDK 1.6.0_17, gnome desktop) has reported that for him the tray icon is sometimes unresponsive after re-activating from suspended mode and he has reported following Exception which I can't reproduce:
java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.
at java.awt.SystemTray.getSystemTray(SystemTray.java:151)
at sun.awt.X11.XTrayIconPeer$4$1.run(XTrayIconPeer.java:210)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Has anyone seen such problems? Are there any workarounds? Thanks!
Marc