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

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