I'm making a text editor just because I feel like it, I know there are already good text editors out there and this one isn't going to be better but I still want to make one because, again, I feel like it.
I'm using JFrame to make my GUI and I was wondering how I could make it create a file when you press a button. I have the action listener and stuff to listen when your pressing the button but I don't know how to create files, I would also like to save to a file what you've written and load a file.
How do I go about doing this?