This thread doesn't really belong in the Threads forum, I don't think. I am moving it to the more appropriate Applet forum.
Also, as I noted in your last thread - please use Code tags to make the code more readable. You can edit your post by pressing the Edit button in the top right corner of the post, and then add the code tags by selecting the code and pressing the Code button at the top of the editor. You can also manually enter the code tags by putting [code] at the start of the code and [\code] at the end.
Looking at your code, it should work fine (as far as it goes.) I don't know about this "Run as applet" option in Eclipse, though -- how does it know the dimensions to use for the applet? Perhaps it's too small, so you're not seeing anything?