Serialization tutorial , start link
 
File chooser tutorial, start link
 

Sample code snippets:

1. Code to read text file into a text area:

    try
        {File theFile = new File( "textFile.txt");
         BufferedInputStream in = new BufferedInputStream(new FileInputStream(theFile));
         byte[] b = new byte[in.available()];
         in.read(b, 0 , b.length );
         someText.setText( new String(b, 0, b.length ));
         in.close();
         }
     catch (IOException ex )
         {someText.setText( "Error opening text file ");
         }