You need a Web page to use with a Web browser or with the appletviewer.
Here is a minimal Web page for use with this applet.
height are required,
but you may change their values.
Copy and paste it to an editor and save it as a file
named, perhaps, SnowFlake.html.
<!-- SnowFlake.html --> <html> <body> <applet code="SnowFlake.class" width="400" height="400"> </applet> </body> </html>
Put Snowflake.java and Snowflake.html in the same subdirectory. Compile Snowflake.java and then use the appletviewer.
C:\JavaNotes>javac SnowFlake.java C:\JavaNotes>appletviewer SnowFlake.html