File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Help please. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Help please." Watch "Help please." New topic

Help please.

JuanC LeonC

Joined: May 21, 2004
Posts: 1

this is my code if u run it with a htm of

<BODY BGCOLOR="000000">
code= "Finalproject47.class"
width= "200"
height= "300"

it runs fine, ok so how do i make it to save? i want it to save the info to a .txt file somewhere on my computer.
Joe Ess

Joined: Oct 29, 2001
Posts: 9190

Applets run inside a "sandbox" which prevents them from accessing the client machine or contacting any server other than the one they were downloaded from. This is a security measure to prevent malicious applets from messing up your computer. You can get around this limitation by digitally signing your applet. Consult the Advanced Programming for Java 2 book for a tutorial.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Help please.
jQuery in Action, 3rd edition