Skip to main content

ClassCast in GnomeTrayIconService

No replies


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

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.


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around