コード例 #1
0
ファイル: CPlatformWindow.java プロジェクト: netroby/jdk9-dev
 /**
  * Find image to install into Title or into Application icon. First try icons installed for
  * toplevel. Null is returned, if there is no icon and default Duke image should be used.
  */
 private CImage getImageForTarget() {
   CImage icon = null;
   try {
     icon = CImage.getCreator().createFromImages(target.getIconImages());
   } catch (Exception ignored) {
     // Perhaps the icon passed into Java is broken. Skipping this icon.
   }
   return icon;
 }