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

Andrew Brygin andrew.brygin at oracle.com
Wed Dec 28 03:02:27 PST 2011


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