GeeCON Prague 2014*
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
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 42039
    
  64
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.


Ping & DNS - my free Android networking tools app
 
GeeCON Prague 2014
 
subject: Writing applet datas to a file