int left = x, top = y; if (!hasLocation) {
int left = 0, top = 0; if (hasLocation) { left = x; top = y; } else {
void _setVisible (boolean visible) {	if ((style & (SWT.BAR | SWT.DROP_DOWN)) != 0) return;	if (!visible) return;	int left = x, top = y;	if (!hasLocation) {		org.eclipse.swt.internal.carbon.Point where = new org.eclipse.swt.internal.carbon.Point ();		OS.GetGlobalMouse (where);		left = where.h; top = where.v;	}	OS.PopUpMenuSelect (handle, (short)top, (short)left, (short)-1);}