Do you have any specific questions (other than a general request for someone to write your code)?
Can you give us some pseudo code that shows what you want the logic of the program to be?
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
The applet security model makes reading and writing pretty difficult. The applet runs in a glass box, basically, and it's a pretty hard job to get it to talk to the outside world.
If you just want to pass in data, that can be done, and you can pass out data after the file has run, but while the applet is in gear, it can't talk to anything, so your standard file io isn't going to work. (if you find a way to make it work, let me know, I know four guys who'll want to know about it)
So the way we handled this was by a perl CGI that used some javascript to pass parameters in to the applet when we were starting it up and out again when we finished. There may be other ways, but that's what we ended up doing.
jon.kiparsky
Posting Virtuoso
1,849 posts since Jun 2010
Reputation Points: 383
Solved Threads: 187
What parts of the program are you having problems with?
Where do you write the output?
As jon.kiparsky said, applets require permission to read for anywhere EXCEPT from the location they were loaded from. So an applet loaded to a client's browser would NOT be able to read anything from the client's PC.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656