Skip to main content

ClassCast in GnomeTrayIconService.mousePressed

No replies


I've noticed that for some reason the source of the
MouseEvent is not a Frame but an IconPanel. Seems to
happen when the main JFrame of my application is in
Frame.ICONIFIED state.

As a workaround I made the popup menu use the "frame"
field of the parent class, but it misses some
right-clicks this way.

What could be happening?

Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web

To unsubscribe, e-mail:
For additional commands, e-mail: