Watch where you put your braces {, and }
First of all, why don't you revert back to the code in the first post. That one works (watch where I made it one file) or keep it two files and make an html file to view your applet.
Second, the normal reason you declare a class as abstract is to require a class that inherits (extends from) this class to implement its abstract methods. I don't think you are dealing with instances of classes yet (well, you are, when you instantiate objects of the Spot.class).
You are trying to define the "init()" method from within the "main(String[] args)" method. I believe you can do that, but I think you need an inner class within main, then a method of that inner class would techinically be defined within the outer method "main". But I doubt you are dabbling in inner classes yet.
I recommend that you go back to the original code; the two files ClickMe.java, Spot.java and you need an html file to view the applet. Then you can use "appletviewer" or a real browser.
Here is a sample html file "ThisWorks.html"
Code:
<applet code="ClickMe.class" width=400 height=400>
</applet>
Type appletviewer ThisWorks.html at the dos prompt then click in the applet and you will see red spots. Or open this html file in a browser and click in the applet area.
Of course you will begin and end all your html files with the <html></html> tags when you are done testing. But this works with this minimal info.