private boolean initXSettingsIfNeeded(final String propName){
  if (!loadedXSettings && (propName.startsWith("gnome.") || propName.equals(SunToolkit.DESKTOPFONTHINTS) || propName.startsWith(dndPrefix))) {
    loadedXSettings=true;
    if (!GraphicsEnvironment.isHeadless()) {
      loadXSettings();
      if (desktopProperties.get(SunToolkit.DESKTOPFONTHINTS) == null) {
        if (XWM.isKDE2()) {
          Object hint=fcManager.getFontConfigAAHint();
          if (hint != null) {
            desktopProperties.put(UNIXToolkit.FONTCONFIGAAHINT,hint);
          }
        }
        desktopProperties.put(SunToolkit.DESKTOPFONTHINTS,SunToolkit.getDesktopFontHints());
      }
      return true;
    }
  }
  return false;
}

private boolean initXSettingsIfNeeded ( final String propName ) { if ( ! loadedXSettings && ( propName . startsWith ( "gnome." ) || propName . equals ( SunToolkit . DESKTOPFONTHINTS ) || propName . startsWith ( dndPrefix ) ) ) { loadedXSettings = true ; if ( ! GraphicsEnvironment . isHeadless ( ) ) { loadXSettings ( ) ; if ( desktopProperties . get ( SunToolkit . DESKTOPFONTHINTS ) == null ) { if ( XWM . isKDE2 ( ) ) { Object hint = fcManager . getFontConfigAAHint ( ) ; if ( hint != null ) { desktopProperties . put ( UNIXToolkit . FONTCONFIGAAHINT , hint ) ; } } desktopProperties . put ( SunToolkit . DESKTOPFONTHINTS , SunToolkit . getDesktopFontHints ( ) ) ; } return true ; } } return false ; }
initializes xawtxsettings if a property for a given property name is provided by xsettings and they are not initialized yet .
