Bug 304001 [mac] No SWT API to set highlighted image for status item
Build Identifier: 3.5.1 A status item has two images, regular one and highlighted one. However, the current SWT only supports to set regular image. Java application is unable to specify an image for highlighted status. (Highlighted image shows when the item is selected) Reproducible: Always
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet143.java
}
		});
		final Menu menu = new Menu (shell, SWT.POP_UP);
		for (int i = 0; i < 8; i++) {
			MenuItem mi = new MenuItem (menu, SWT.PUSH);
			mi.setText ("Item" + i);
			mi.addListener (SWT.Selection, new Listener () {
				public void handleEvent (Event event) {
					System.out.println("selection " + event.widget);
				}
			});
			if (i == 0) menu.setDefaultItem(mi);
		}
		item.addListener (SWT.MenuDetect, new Listener () {
			public void handleEvent (Event event) {
				menu.setVisible (true);
			}
		});
		item.setImage (image);
	}
	shell.setBounds(50, 50, 300, 200);
	shell.open ();
	while (!shell.isDisposed ()) {
		if (!display.readAndDispatch ()) display.sleep ();
	}
	image.dispose ();
	display.dispose ();
}
}