This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Since this looks like a simple program I'd say that you might consider adding two more methods, one for reading from the file and the other for writing to it? Don't see much sense in another helper class for this purpose.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Oct 13, 2005
Originally posted by Leni Kravitskki: Thanks And?
public void what? openFile()?
Whatever the method your original reading code quoted earlier would have been in. And don't use System.out for printing Exceptions, use System.err.