Lines Matching refs:icon
45 TrayIcon icon;
71 System.err.println("Test can fail if the icon hides to a tray icons pool " +
76 "icon and rerun test.");
91 icon = new TrayIcon(new BufferedImage(20, 20, BufferedImage.TYPE_INT_RGB), "Sample Icon");
96 if (!icon.equals(event.getSource()))
97 throw new RuntimeException("FAIL: MouseEvent not triggered for icon " + event);
112 if (!icon.equals(event.getSource()))
113 throw new RuntimeException("FAIL: MouseMotionEvent not triggered for icon " + event);
127 tray.add(icon);
137 Point iconPosition = SystemTrayIconHelper.getTrayIconLocation(icon);
139 throw new RuntimeException("Unable to find the icon location!");