public synchronized static boolean isDesktopSupported(){
  if (!desktopSupportedInitialized) {
    desktopSupported=Desktop.isDesktopSupported();
    desktopSupportedInitialized=true;
  }
  return desktopSupported;
}

public synchronized static boolean isDesktopSupported ( ) { if ( ! desktopSupportedInitialized ) { desktopSupported = Desktop . isDesktopSupported ( ) ; desktopSupportedInitialized = true ; } return desktopSupported ; }
returns true if java . awt . desktop is supported on host platform .
