Method setImage(Image image)
Return type: void
Member of:
javax.swing.ImageIcon
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
setImage(createRotatedImage(mDefaultImage, pComponent, mRotation));
2
logo1.setImage(okimage);
3
imageIcon1.setImage(image);
4
imageIcon1.setImage(image);
5
theIcon.setImage( Utilities.loadImage("org/openide/src/resources/wait.gif") ); //NOI18N
6
((ImageIcon)icon).setImage(getScaled(((ImageIcon)icon).getImage(), iviewer==null?this:iviewer));
7
logo1.setImage(okimage);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.