views:

177

answers:

1

Hello!

I use SWT for my app and all significance of it, to use system tray. May be some one know how to add mouse listener to the TrayItem (or just handle mouse events)? For example, handle mouse hover event.

Thanks in advance and best regards, Alex

+1  A: 

SWT TrayItems seems not to implement mouselisteners. However: If you just need to show a tooltip on mouse hover, use public void setToolTipText(String string) method of TrayItem class.

Marco