private OSType getOSType()
   {
      String os_name = System.getProperty("os.name").toLowerCase();
      if(os_name.contains("mac"))
      {
         return OSType.OS_MacOSX;
      }
      else if(os_name.contains("nix") || os_name.contains("nux"))
      {
         return OSType.OS_Unix;
      }
      else if(os_name.contains("win"))
      {
         return OSType.OS_Windows;
      }
      else
      {
         return OSType.Unknown;
      }
   }