public static boolean isWindows7(){
  return osName.indexOf("Windows") > -1 && osVersion.equals("6.1");
}

public static boolean isWindows7 ( ) { return osName . indexOf ( "Windows" ) > - 1 && osVersion . equals ( "6.1" ) ; }
is operating system windows 7 ?
