Method getIcon()
Return type:
javax.swing.Icon
Member of:
javax.swing.JLabel
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return lblImageHolder.getIcon() != null;
2
images[i] = ((ImageIcon) this.scrollLabels[i].getIcon()).getImage();
3
assertNull(renderer.getIcon());
4
Icon currentI = getIcon();
5
Icon currentI = getIcon();
6
assertSame(icon, renderer.getIcon());
7
Icon icon = getIcon();
8
Icon currentI = getIcon();
9
if (((JLabel)component).getIcon() == null) {
10
((WFIcon)getIcon()).setSelected (m_selected);
11
ImageIcon icon = (ImageIcon)getIcon();
12
Icon icon = (label.isEnabled()) ? label.getIcon() : label.getDisabledIcon();
13
Icon icon = getIcon();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.