Request for review for 7124373: Setting frame icon images causes IllegalArgumentException

Anthony Petrov anthony.petrov at oracle.com
Wed Dec 28 03:17:21 PST 2011


Looks fine.

--
best regards,
Anthony

On 12/28/2011 3:02 PM, Andrew Brygin wrote:
> Hello,
> 
>  please review a fix for the CR 7124373: Setting frame icon images 
> causes IllegalArgumentException.
> 
>  This problem happens when a toolkit image is used as a frame icon.
>  Toolkit images need to be prepared before usage, because they are
>  loaded and processed asynchronously. Utility class MediaTracker
>  can be used to prepare an image.
> 
>  If image can not be loaded for any reasons, null CImage is returned.
> 
> 
>  Webrev: http://cr.openjdk.java.net/~bae/7124373/
>  Bug description: http://monaco.sfbay.sun.com/detail.jsf?cr=7124373
> 
> Thanks,
> Andrew


More information about the macosx-port-dev mailing list