User Profile

Collapse

Profile Sidebar

Collapse
naivewisdom
naivewisdom
Last Activity: Feb 18 '11, 12:17 AM
Joined: May 19 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • naivewisdom
    started a topic How to overwrite a file in Java
    in Java

    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...
    See more | Go to post

  • naivewisdom
    started a topic Populating a three demensional array from a file
    in Java

    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...
    See more | Go to post
    Last edited by RedSon; May 19 '10, 07:50 PM. Reason: Next time add some [CODE] tags!
No activity results to display
Show More
Working...