GrayFox Posted May 11, 2005 Report Share Posted May 11, 2005 I have this java programming project in school and one of the things my program must be capable of doing is to save info from an ArrayList to a TXT file and vice versa. I'm kinda noobish at this stuff so if anyone has experience in java programming, could you give me a hand and perhaps send me an example of how it's done? Thanks. Quote Link to comment Share on other sites More sharing options...
Phlek Posted May 11, 2005 Report Share Posted May 11, 2005 Took some JAVA classes last year and have completely forgot how to do everything, so I can't help you personally. But, here's a tutorial on file-handling which should help you out a lot. http://www.javacoffeebreak.com/java103/java103.html Quote Link to comment Share on other sites More sharing options...
OL Posted May 11, 2005 Report Share Posted May 11, 2005 im finishing up my AP comp sci java class right now, if you have specific questions maybe i can help you, just ask. Quote Link to comment Share on other sites More sharing options...
GrayFox Posted May 15, 2005 Author Report Share Posted May 15, 2005 Ok, using the tutorials that Phlek gave, what must I add so the program saves the contents of an ArrayList in the file instead of a given text? Quote Link to comment Share on other sites More sharing options...
DaanO Posted May 15, 2005 Report Share Posted May 15, 2005 Oh OL i have some more specific questions! I used Javascript to pop-up some new windows (larger versions of screenshots) and to make icons brighter when people hover their mouse over it. When i open the site in internet explodor though, it starts complaining about how my site can harm your computer because activex content can do damage or something silly. Now obviously my site doesn't do anything bad but still i want to get rid of that. Is there something i can do about it? Do those things without having to use javascript? Or convince iexplore that i'm not someone evil? Quote Link to comment Share on other sites More sharing options...
Duff-e Posted May 16, 2005 Report Share Posted May 16, 2005 wtf....your school offers advanced placement in computer classes? thats crazy Quote Link to comment Share on other sites More sharing options...
OL Posted May 16, 2005 Report Share Posted May 16, 2005 hi, java script and java are totally different, i only know the latter. also i dont know anything about outputting to files and such.. havnt ever needed to Quote Link to comment Share on other sites More sharing options...
GrayFox Posted May 16, 2005 Author Report Share Posted May 16, 2005 hi, java script and java are totally different, i only know the latter. also i dont know anything about outputting to files and such.. havnt ever needed to Darn! Anyone?? My project has to be finished on thursday... Quote Link to comment Share on other sites More sharing options...
Phlek Posted May 16, 2005 Report Share Posted May 16, 2005 Your probably screwed if you stick around here, check out this place and ask around. I'm sure someone will be happy to help. http://forums.devx.com/forumdisplay.php?f=154 Quote Link to comment Share on other sites More sharing options...
GrayFox Posted May 16, 2005 Author Report Share Posted May 16, 2005 Your probably screwed if you stick around here, check out this place and ask around. I'm sure someone will be happy to help. http://forums.devx.com/forumdisplay.php?f=154 I already found out how to save the info. I still need to find out how to load the info to a list so thanks for the link. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.