Method getIcon()
Return type: javax.swing.Icon
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 ((ColorIcon) getIcon()).setColor(theColor);
2 Icon i = ((AbstractButton)c).getIcon();
3 setIcon(menuItem.getIcon());
4 setIcon(menuItem.getIcon());
5 ((BevelArrowIcon)getIcon()).setDirection(BevelArrowIcon.DOWN);
6 Icon icon = jb.getIcon();
7 if (btn.getIcon() != null) {
8 Icon icon = jb.getIcon();
9 b.getIcon(),
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.