Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JMenu (JMenuItem ではない) にショートカットを追加したいのですが、方法がわかりません...助けてください...
これを試して:
JMenu actionMenu = new JMenu("Actions"); actionMenu.setMnemonic(KeyEvent.VK_A);
ALTこのようにして、キー+を押してアクセスできますA。