To start with here are some prerequisites :
-You should have fair idea about java syntax because I am not going to teach that. Graphic Design College is a good educational resource in learning more about Java.
-You should have Eclipse downloaded (anyone will do i.e Indigo, Galileo, Ganymede etc.)
- You should Download acm.jar file and include it into your project as an external jar file.