Whenever you use a Writer you must close/flush it when you are finished. Otherwise data is left in the buffer.
Type: Posts; User: Junky
Whenever you use a Writer you must close/flush it when you are finished. Otherwise data is left in the buffer.
If the contents are not too long you can store the entire story in memory and then write it out at the end. If you are allowed I suggest using a FileWriter as it is easier to use. If you need to...