Information technology
Tuesday, September 1, 2015
SETTING ICON IMAGE TO SWING APPLICATION IN JAVA
SETTING ICON IMAGE:
Image i = new ImageIcon(ClassLoader.getSystemResource("world.png")).getImage();
setIconImage(i);
NOTE:
Image file should be placed in project source directory(src) and it should not be very large size...
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment