public String name(){
  if (SystemType.isMacOSX() || (SystemType.isWindows() && Double.valueOf(System.getProperty("os.version")) >= 6)) {
    return "(LocoNet MS100 not available)";
  }
 else {
    return "LocoNet MS100";
  }
}

public String name ( ) { if ( SystemType . isMacOSX ( ) || ( SystemType . isWindows ( ) && Double . valueOf ( System . getProperty ( "os.version" ) ) >= 6 ) ) { return "(LocoNet MS100 not available)" ; } else { return "LocoNet MS100" ; } }
provide this adapter name , if it ' s available on this system .
