public File createProjectFilename( TProject project )
  {
    File file = project.getProjectFile() ;
    if ( file == null )
    {
      TProjectFileList fList = project.getProjectData().getAvailableLangs() ;
      if ( fList.size() > 0 )
      {
        TLanguageFile lFile = fList.get( 0 ) ;
        if ( lFile != null )
        {
          File parent = lFile.getFileHandle().getParentFile() ;
          String str = project.getProjectName() ;
          if ( str == null )
          {
            str = lFile.getBaseName() ;
          }
          else if ( str.length() < 0 )
          {
            str = lFile.getBaseName() ;
          }

          file = new File( parent.getAbsolutePath(),
                           str + "." + TGlobal.PROJECT_FILE_EXTENSION ) ;
        }
      }
    }
    return file ;
  }