jQuery in Action, 3rd edition
The moose likes Applets and the fly likes Writing applet datas to a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Writing applet datas to a file" Watch "Writing applet datas to a file" New topic

Writing applet datas to a file

shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
Hi...can anyone say me,whether it is possible to write datas from an applet to a file..Like,getting the change in x & y co-ordinates and writing it to a specified location..i.e.,in a temp file
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Applets can use the same file I/O classes and methods regular Java applications can use, IF they are digitally signed. That's a security restriction of the applet sandbox. See http://faq.javaranch.com/java/HowCanAnAppletReadFilesOnTheLocalFileSystem for more information about this.
I agree. Here's the link: http://aspose.com/file-tools
subject: Writing applet datas to a file
It's not a secret anymore!