User Profile
Collapse
-
How to overwrite a file in Java
I'm writing a program that needs to overwrite a file at the end of each usage. Currently, the program work as a whole, except at the end of each game, when the overwrite method(shown below) is called, the file is not overwritten unless the user goes to the file, where a pop up box asks if you want to overwrite the file. Is there a way I can either delete the file at the beginning of the method or make the file automatically be written over without... -
Populating a three demensional array from a file
For a lengthy program which would be in no way helpful to discribe, I need to populate a three dementional array from a file and overwrite the file with the modefied arraylist later. The three dementional arraylist will always be in the form Integer[4][6][8] and the file should have one number on each line which corresponds to a place in the array. For some reason my code is not populating the array at all. Here is the portion of the code which populates...
No activity results to display
Show More