File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes something sort of interesting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "something sort of interesting" Watch "something sort of interesting" New topic

something sort of interesting

Matt Fyffe

Joined: Jun 19, 2003
Posts: 25
Hey, I recently added a save/load feature to my program and because of it... I figured out something odd about my programs. Whenever I use outside stuff in my program (images, sounds) I had to enter the direct address. However, now that I have the save feature, I discovered that my program places all files into the j2sdk1.4.1_03
folder and reads all files from there. So, if I want to read a file without its direct address, I must place it in that folder. Is there a way I can make the compiler (I use bluej) read and load files from my folder elsewhere on the computer? Thanks a lot.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Matt, there's something about this in the Bluej mail list archives, or on the site somewhere (Tips perhaps). I don't have time at the moment to look, but that doesn't stop you doing so.
In fact I think it's here , but I'm not sure. If not you better take a look in the mailing archive.
[ July 14, 2003: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Matt Fyffe

Joined: Jun 19, 2003
Posts: 25
hah! thanks a lot mate... time to get digging .
I agree. Here's the link:
subject: something sort of interesting
It's not a secret anymore!