The following code works find for 24 bit color images, but it
hangs whenever the BufferedImage is a 8 bit grayscale image.
Can someonecomment on what is wrong with the code or whether
there is a bug in ImageIcon?
Thanks in advance,
Terry
**************************************************************
BufferedImage bImage = .... //bImage is assigned here
Image im = bImage.getScaledInstance(w, h, Image.SCALE_FAST);
// !!!! HANGS HERE !!!!
ImageIcon icon=new ImageIcon(im);
*************************************************************
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".