The following are a sample of very old, small, primitive, Java 1.3 applets with their code. Give them a try. If you are interested in Java, feel free to look at the code and make your own modifications. Java is easy to learn, there are lots of excellent books and resources available on the subject, it is (mostly) free, and it is fun. You will need a Java enabled browser to see the applets (and grant permission to run them).