1. use the JFileChooser with the methods '.showOpenDialog(parent);' or '.showSaveDialog(parent);' then you have to receive the return int. Once it is good you can goto a file method and write the little bit of code to read/write to/from the file. It is actually quite simple. Or otherwise...
If you want to get a bit more advance, look into implementing an JEditorPane or JTextPane. Then you can assign the editorkits and styles, work with the document breaking the different areas into various root and other elements. It actually gets quite complicated. Or...(this idea just came to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.