M
Marcus P
Hello!
I'm not too experienced in java and I have a problem reading from a file
with my applet. As I understand the applet is aloud to read from the same
folder as the applet is in.
I have declared a File (that point to my file in the same folder), a
FileReader with try and catch Exception and then I have written
FileReader.read(char c, int, int) with try and catch. The compiler accepts
my code but when I run my applet in appletviewer the promt gives me errors.
Can somebody please help me?
Many, many thanks in advance!
Best regards
Marcus
I'm not too experienced in java and I have a problem reading from a file
with my applet. As I understand the applet is aloud to read from the same
folder as the applet is in.
I have declared a File (that point to my file in the same folder), a
FileReader with try and catch Exception and then I have written
FileReader.read(char c, int, int) with try and catch. The compiler accepts
my code but when I run my applet in appletviewer the promt gives me errors.
Can somebody please help me?
Many, many thanks in advance!
Best regards
Marcus