Skip to main content

ClassCast in GnomeTrayIconService

No replies
Anonymous

Greetings,

with the latest version of jdic I sometimes get a
ClassCastException in
GnomeTrayIconService.mousePressed. JDIC is trying to
cast the source of the event to a Frame, but the
source is an IconPanel. I should say this happens
when the main JFrame of my application is set to
Frame.ICONIFIED.

For a workaround, I modified the code to simply refer
to the "frame" field in the parent class. It doesn't
always catch the right-click events though.

Thoughts?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com