Project: SWT
Bug 56918 Problems disposing TrayItem
Reported: 2004-03-31 10:43:28 | Status: resolved fixed

Hi, I noticed problems disposing a TrayItem. In my application the user may chose to have the trayicon, or not. This is set in preferences without restart, so creation and disposal of TrayItems are handled during runtime. When first calling TrayItem.dispose() and afterwards creating a new TrayItem, the old one is still showing in the tray, but without an image or Menu set to it. If needed, I could write a sample snippet. Regards, Ben

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TrayItem.java