This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm trying to write a save action that will write a Document from a JTextComponent to a txt file. I can't seem to figure it out. I've looked at the API and that hasn't gotten me anywhere. any suggestions Mario
The documentation for Document directs you to this article on the Element interface. That article directs you to the API documentation for EditorKit which has methods for reading and writing to/from streams.