Simplified explanation of Mnemonic
I have this piece of code, it works. However I do not understand it, it works but I need to understand it.
Could somebody give me a fairly simple explanation.
jRmetric.setMnemonic(KeyEvent.VK_B); // resets metric as default
optPane1.showMessageDialog(this,"Measurements have been reset to metric \n" + "enter your height in Cm's and your weight in Kg's",
"Re-set to metric",optPane1.ERROR_MESSAGE);