Java Jframe get input and write to file [duplicate]
问题 This question already has answers here : How to append text to an existing file in Java? (31 answers) Closed 3 years ago . I have one project that I want to get input from jframe. I have to input 3 people data in only one time when code was running and write that data into file name person.txt.Those data have Name Nickname Age and when i compile my code, It dosn't work and I just only write one data in person.txt file. Help me please? I can't get those in my project. what should i do ? public