Setting a Mnemonic for a Menu for Accessible
import javax.swing.JMenu; public class Main { public static void main(String[] argv) throws Exception { JMenu menu = new JMenu("Menu"); menu.setMnemonic('M'); } }