What is a mnemonic in java? [closed]
Asked Answered
S

2

8

I can find a bunch of info talking about mnemonics but nothing about what they are. Can someone help me here?

Salangia answered 28/11, 2012 at 21:39 Comment(4)
mnemonics are not hell!!Chambliss
You mean the Swing component keyboard shortcuts? If not, no clue--you need to provide some context.Sand
Google is your friend. I easily found a description, maybe you searched for the wrong thing?Selenography
@PicklishDoorknob Uh well I didn't.Salangia
L
9

From swing documentation:

Mnemonics offer a way to use the keyboard to navigate the menu hierarchy, increasing the accessibility of programs.

It's the underlined letter in menus, buttons, labels, tabs etc. Pressing the ALT-key and the underlined letter on the keyboard selects that menu item.

Limburger answered 28/11, 2012 at 21:42 Comment(1)
Not only in menus. Labels, buttons and tabs can also have one.Gravitate
C
2

A mnemonic is a keyboard shortcut that allows you to access some menu item. It's an accessibility thing.

This tutorial is a good illustration.

Cai answered 28/11, 2012 at 21:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.