| Author |
ImageIcon not working
|
John Eipe
Ranch Hand
Joined: May 23, 2008
Posts: 205
|
|
Hi
I'm trying to load a image to JLabel and I get the below compilation error.
ImageD.java:65: cannot find symbol
symbol : method ImageIcon(java.awt.image.BufferedImage)
location: class ImageExtracter.ImageD
myimage = ImageIcon(image);
^
The code is as below:
I checked the documentation and couldn't find anything there. Please help.
|
www.cs-repository.info
|
 |
Rob Camick
Ranch Hand
Joined: Jun 13, 2009
Posts: 1791
|
|
|
|
 |
 |
|
|
subject: ImageIcon not working
|
|
|