~~~难道是这样?
String account=account+".txt";
myFile = new File(newaccount);
对吗?
ok... see this
String account="your directoty/your filename without .txt";
account=account+".txt";
myFile = new File(newaccount);
and can you really "myfile=new File()"? i dont think so.
unless you decleared your own class.
note: pascal style is not working in Java