This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing applet datas to a file

 
shalini gnana
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic