Retrieves a boolean value indicating whether the specified character is the mnemonic character in the specified string.
public static final boolean getMnemonic( char charCode, String text )
charCode
The character to test.
text
The string to search.
Returns true if the character specified by charCode is the mnemonic character in the string specified by text.
The mnemonic character is the character imediately following the first instance of the ampersand (&) in a string. The mnemonic character (also known as an access key), is the letter that appears underlined in the control. The user can press ALT+ the mnemonic character to activate the control.