Sample Code Yielding a PostScript File

Here is some sample code that produces a postscript file named
psRose.ps as output.
Note that Java applets cannot create files (for security reasons). So this
implementation must be an application. Also note that (for some reason that
I do not yet know) you must explicitly exit with "System.exit(0)".