private static boolean isKDE(){
  return System.getenv("KDE_SESSION_VERSION") != null;
}

private static boolean isKDE ( ) { return System . getenv ( "KDE_SESSION_VERSION" ) != null ; }
checks if we are currently running under kde desktop .
