The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages > javax.accessibility  [7 examples]

e690. Setting a Mnemonic for Buttons

    JButton button = new JButton("Button");
    button.setMnemonic('B');
    JCheckBox checkBox = new JCheckBox("CheckBox");
    checkBox.setMnemonic('C');

 Related Examples
e687. The Quintessential Accessible Object
e688. Setting an Accessible Name for an Image Button
e689. Setting a Description for Image Icons
e691. Setting a Mnemonic for a Menu
e692. Associating a Label with a Component
e693. Setting a Keyboard Accelerator for a Menu Item


© 2002 Addison-Wesley.