Hello All,
Thank you all for answering my previous problem.
I have new one, hope you guys can help as well.
Thank you once again.
-Yang
img = Toolkit.getDefaultToolkit().getImage(filename);
width = img.getWidth(this);
height = img.getHeight(this);
*****
Incompatible type for method. Explicit cast needed to convert FileBrowser
to java.awt.image.ImageObserver.
width = img.getWidth(this);
^
height = img.getHeight(this);
^
===========================================================================
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".