Okay, I am putting together this program and need some suggestions on the best way in Java to export data to a text file (2 dimensional array), that can later be recalled. The program is designed such that the user enters in how many hours they worked and how much they charged per hour. This information is displayed in a jtext area, but I also need it to write the information into an array. Since the data is dealing with hours and money, the data type needs to be numeric. It is also very critical that the array is a .txt file, not an .xml file. The program has a second function which is to allow it to call the information from the array. My question though is what is the best way to export the data from the jtext area to the .txt file. A friend of mine suggested using stringbuilder. I am just looking for the most efficient way.