• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help please.

 
JuanC LeonC
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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

<HTML>
<HEAD>
</HEAD>
<BODY BGCOLOR="000000">
<CENTER>
<APPLET
code= "Finalproject47.class"
width= "200"
height= "300"
>
</APPLET>
</CENTER>
</BODY>
</HTML>

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
Bartender
Posts: 9337
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic