char mnemonic = getMnemonic (text);
char mnemonic = _findMnemonic (text);
void initAccessible() {	AccessibleAdapter accessibleAdapter = new AccessibleAdapter () {		public void getName (AccessibleEvent e) {			String name = null;			Label label = getAssociatedLabel ();			if (label != null) {				name = stripMnemonic (label.getText());			}			e.result = name;		}		public void getKeyboardShortcut(AccessibleEvent e) {			String shortcut = null;			Label label = getAssociatedLabel ();			if (label != null) {				String text = label.getText ();				if (text != null) {					char mnemonic = getMnemonic (text);					if (mnemonic != '\0') {						shortcut = "Alt+"+mnemonic; //$NON-NLS-1$					}				}			}			e.result = shortcut;		}		public void getHelp (AccessibleEvent e) {			e.result = getToolTipText ();		}	};	getAccessible ().addAccessibleListener (accessibleAdapter);	text.getAccessible ().addAccessibleListener (accessibleAdapter);	list.getAccessible ().addAccessibleListener (accessibleAdapter);		arrow.getAccessible ().addAccessibleListener (new AccessibleAdapter() {		public void getName (AccessibleEvent e) {			e.result = isDropped () ? SWT.getMessage ("SWT_Close") : SWT.getMessage ("SWT_Open"); //$NON-NLS-1$ //$NON-NLS-2$		}		public void getKeyboardShortcut (AccessibleEvent e) {			e.result = "Alt+Down Arrow"; //$NON-NLS-1$		}		public void getHelp (AccessibleEvent e) {			e.result = getToolTipText ();		}	});	getAccessible().addAccessibleTextListener (new AccessibleTextAdapter() {		public void getCaretOffset (AccessibleTextEvent e) {			e.offset = text.getCaretPosition ();		}	});		getAccessible().addAccessibleControlListener (new AccessibleControlAdapter() {		public void getChildAtPoint (AccessibleControlEvent e) {			Point testPoint = toControl (e.x, e.y);			if (getBounds ().contains (testPoint)) {				e.childID = ACC.CHILDID_SELF;			}		}				public void getLocation (AccessibleControlEvent e) {			Rectangle location = getBounds ();			Point pt = toDisplay (location.x, location.y);			e.x = pt.x;			e.y = pt.y;			e.width = location.width;			e.height = location.height;		}				public void getChildCount (AccessibleControlEvent e) {			e.detail = 0;		}				public void getRole (AccessibleControlEvent e) {			e.detail = ACC.ROLE_COMBOBOX;		}				public void getState (AccessibleControlEvent e) {			e.detail = ACC.STATE_NORMAL;		}		public void getValue (AccessibleControlEvent e) {			e.result = getText ();		}	});	text.getAccessible ().addAccessibleControlListener (new AccessibleControlAdapter () {		public void getRole (AccessibleControlEvent e) {			e.detail = text.getEditable () ? ACC.ROLE_TEXT : ACC.ROLE_LABEL;		}	});	arrow.getAccessible ().addAccessibleControlListener (new AccessibleControlAdapter() {		public void getDefaultAction (AccessibleControlEvent e) {			e.result = isDropped () ? SWT.getMessage ("SWT_Close") : SWT.getMessage ("SWT_Open"); //$NON-NLS-1$ //$NON-NLS-2$		}	});}