2 Replies - 310 Views - Last Post: 30 January 2013 - 01:03 AM Rate Topic: -----

#1 Warlock_Rick  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 29-January 13

Stuck With Java Applet For Reading A Text file

Posted 29 January 2013 - 10:05 PM

Hello everyone,i want to read a text file using applet. I am not sure how to do it, can anyone help me with this?
Is This A Good Question/Topic? 0
  • +

Replies To: Stuck With Java Applet For Reading A Text file

#2 Ghlavac  Icon User is offline

  • D.I.C Addict

Reputation: 84
  • View blog
  • Posts: 519
  • Joined: 14-January 09

Re: Stuck With Java Applet For Reading A Text file

Posted 29 January 2013 - 11:03 PM

If you mean a local text file then I believe it has to be signed?
Was This Post Helpful? 0
  • +
  • -

#3 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 823
  • View blog
  • Posts: 2,533
  • Joined: 29-July 11

Re: Stuck With Java Applet For Reading A Text file

Posted 30 January 2013 - 01:03 AM

Yes, signed, unless you keep the text file on the server with the applet.

Anyway, you read it like any other file. A BufferedReader and a FileReader make it easy. The question has been asked 1000x, so use the search function.

This post has been edited by farrell2k: 30 January 2013 - 01:06 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1