Do not use the JFrame at saving.