Title says it all.
I have a BufferedImage, I'd like to convert it to an ImageIcon ^^
Printable View
Title says it all.
I have a BufferedImage, I'd like to convert it to an ImageIcon ^^
Read the API, maybe?
Also note that you can't 'convert' a BufferedImage to an ImageIcon, any more than you can convert a passport photograph to a passport.
You can, however, obtain a passport that uses the photograph, and likewise you can obtain an ImageIcon that uses the BufferedImage.
db