Lines Matching refs:icon
83 TrayIcon icon = new TrayIcon(img);
88 tray.add(icon);
99 throw new RuntimeException("FAIL: property event did not get triggered when tray icon added");
105 if (icons.length != 1 || ! icon.equals(icons[0])) {
108 "icon[] length: " + icons.length);
114 tray.remove(icon);
125 throw new RuntimeException("FAIL: property event did not get triggered when tray icon removed");
134 "icon[] length: " + icons.length);
143 tray.add(icon);
151 tray.remove(icon);
161 tray.add(icon);
169 tray.remove(icon);