s and can be modal.)
When the program is run as an application,
then the <code>main()</code> method
creates a Frame to hold the Applet.
Finally, when you select the "File dialog..." item
in the menu,
the program creates a FileDialog object,
which is a Dialog
that can be either an Open or a Save dialog.
<applet height=0 width=0>
<p>
Here, if you don't have a Java-compatible browser,
is a picture of the window that the FileDialog brings up:<p>
<!-- Will this work?  It's a kludge to include this figure only
  