How do I modify this code statement?
<p>I do need your help.</p>

<p>I've got this code:</p>

<pre><code>File f1 = openFile("Choose file one",
        JFileChooser.OPEN_DIALOG);
    if (f1 == null)
        return;
    File f2 = openFile("Choose file two",
        JFileChooser.OPEN_DIALOG);
    if (f2 == null)
        return;

        File f3 = openFile("Choose destination",
        JFileChooser.SAVE_DIALOG);
    if (f3 == null)
       return;
 JOptionPane.showMessageDialog(this, "Files are now joined in"
           + f3.getName());
</code></pre>

<p>I'd like to get rid of this :</p>

<pre><code>File f3 = openFile("Choose destination",
        JFileChooser.SAVE_DIALOG);
    if (f3 == null)
       return;
</code></pre>

<p>and use the following code statement , this way , but unfortunately I get errors ..!</p>

<pre><code>OptionPane.showMessageDialog(this, "Files are now joined in"
           + f1.getName() + f2.getName());
</code></pre>

<p>How can I solve the problem?</p>
