private void updateSystemIcon(){
  Window window=getWindow();
  if (window == null) {
    systemIcon=null;
    return;
  }
  java.util.List<Image> icons=window.getIconImages();
  assert icons != null;
  if (icons.size() == 0) {
    systemIcon=null;
  }
 else   if (icons.size() == 1) {
    systemIcon=icons.get(0);
  }
 else {
    systemIcon=SunToolkit.getScaledIconImage(icons,IMAGE_WIDTH,IMAGE_HEIGHT);
  }
}

private void updateSystemIcon ( ) { Window window = getWindow ( ) ; if ( window == null ) { systemIcon = null ; return ; } java . util . List < Image > icons = window . getIconImages ( ) ; assert icons != null ; if ( icons . size ( ) == 0 ) { systemIcon = null ; } else if ( icons . size ( ) == 1 ) { systemIcon = icons . get ( 0 ) ; } else { systemIcon = SunToolkit . getScaledIconImage ( icons , IMAGE_WIDTH , IMAGE_HEIGHT ) ; } }
update the image used for the system icon
