![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e689. Setting a Description for Image IconsImage icons can be inserted in a variety of places such as in a text or tree component. You should set a description for image icons to help blind users.ImageIcon icon = new ImageIcon("image.gif"); icon.setDescription("Description of Image");
e688. Setting an Accessible Name for an Image Button e690. Setting a Mnemonic for Buttons 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. |