Ulf Dittmer wrote:Welcome to JavaRanch.
In the future, please http://faq.javaranch.com/java/UseCodeTags if you post code of any length; it makes it much easier to read it. I've edited your post accordingly.
As to your question, I'm not sure what "the specified file" is - there's nothing at all about files in the code ... ? But be aware that applets can't normally write files at all due to security restrictions; see http://faq.javaranch.com/java/HowCanAnAppletReadFilesOnTheLocalFileSystem for more details.
dhanildas das wrote:Thanks ,Now i bypass the security problem in "applet file write" , but i don't know how to " create a file " in applet .
dhanildas das wrote:sir, How it's run with explorer (IE)
You need to get into the habit of closing writers in your code. "Close after termination" is no excuse for poor design.
dhanildas das wrote:I don't have the correct solution to your question ,sorry for that but
1.it's possible to close writer after the program is terminated.(I have checked it).
. . .