I want to display the contents of the file on my local drive on a TextArea or TextPane when the user selects a file using FileChooser. Later the contents of the TextArea are read and few changes are made. I want to then get the modified contexts from the TextArea/TextPane component and save it into another using Swings. How do I do that