how do I pass information from one class to another
<p>I am creating a program which allows the user to input details of customers. When they have saved each customers record there is the choice to add additional information. I am having trouble getting the the name of the saved file in my append class. I need the filename so I  can then save the additional information to the same file already created for the customer. How do I pass the file name from one file to another.</p>

<pre><code>File FName = fileChooser.getSelectedFile();
      String name = FName.getName();

 public String getname() { return name; }
</code></pre>

<p>This code is in my customer class how do I get this information in my append class??</p>
