 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alaa Guest
|
Posted: Tue Nov 28, 2006 12:43 am Post subject: NEED YOUR HELP |
|
|
Hi
This is the first time I joined a groub abd I am happy & comfortable
that I started with you.
In fact I need your help in my java course project >> & this is the
discribtion about it
Problem: The Talking Photo Album (TPA)
You are asked to simulate the flipping of pages of a photo album with a
program called TPA, the Talking Album Photo. Once TPA is started, it
should allow you to enter the name of the folder where the pictures you
want to view reside. (Bonus, you could also allow to browse to reach
this folder.) TPA then loads all the photos that exist in that folder.
as a starting I need to know the exact code in java language that
helps me to read the content of a .txt file.
and after that, I will ask my next question.
please replay to as soon as possible ... & thanks alot
Regards  |
|
| Back to top |
|
 |
Jason Stine Guest
|
Posted: Tue Nov 28, 2006 2:56 am Post subject: Re: NEED YOUR HELP |
|
|
Alaa wrote:
| Quote: |
Hi
This is the first time I joined a groub abd I am happy & comfortable
that I started with you.
In fact I need your help in my java course project >> & this is the
discribtion about it
Problem: The Talking Photo Album (TPA)
You are asked to simulate the flipping of pages of a photo album with a
program called TPA, the Talking Album Photo. Once TPA is started, it
should allow you to enter the name of the folder where the pictures you
want to view reside. (Bonus, you could also allow to browse to reach
this folder.) TPA then loads all the photos that exist in that folder.
as a starting I need to know the exact code in java language that
helps me to read the content of a .txt file.
and after that, I will ask my next question.
please replay to as soon as possible ... & thanks alot
Regards :)
|
I've always used the Scanner class to read text files:
Scanner file = new Scanner(File file);
or something like that... it's been a while. Anyway I know this class
exists - look it up in the API for all the methods. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|