One way would be to write the data to a disk file. When the program starts, it could read the disk file and fill in the textfield. The Properties class could be used.

Don't know about an...