为何面板上输出的内容和写到文件中的内容不一样呢???

public void prt2(LinkedHashMap Map1) throws IOException
{

      Iterator iterator10=Map1.keySet().iterator();   
      FileWriter bw=new FileWriter("D:\\自然语言\\二元.txt");

       while(iterator10.hasNext()){  
        String word10=(String) iterator10.next(); 
        bw.write(word10+") ");

     System.out.println("("+word10+"):  ");  
       }
       bw.flush();
       bw.close();
 }

不一样请问体现在哪里,有截图吗?