Method setDisabledIcon(Icon disabledIcon)
Return type: void
Member of:
javax.swing.AbstractButton
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
button.setDisabledIcon(disabled);
2
button.setDisabledIcon(getImage(name + ".off.gif"));
3
button.setDisabledIcon(disabled);
4
playButton.setDisabledIcon(DrawnIcon.getPlayIcon(false));
5
item.setDisabledIcon(readImageIcon("size_sort_gray.png"));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.