nomethodfounderror:main

dear all: I got a "nosuchmethodfounderror:main",which I believe many of you are familiar with. I just typed in an example from a java textbook. The exampple itself does not have a main class. So first, do I have to put a main class? and second, if not, how? I have had a "public class Mountain extends Applets" and a public void paint (Graphics page). where should I put the main class? thanks!

[401 byte] By [Sun_coolera] at [2007-11-27 9:56:12]
# 1
http://java.sun.com/docs/books/tutorial/deployment/applet/index.html
BigDaddyLoveHandlesa at 2007-7-13 0:26:19 > top of Java-index,Java Essentials,Java Programming...