I have been trying to work on collision detection between 2 rectangles for quite some time now and am unable to do it. I don't get how to implement getters and setters. I get the whole concept but I'm still sort of new, in a way, to java. I guess what I am asking is if someone can post a snippet of code showing the collision detection between 2 rectangles in a java applet. Thanks