 <p>Use Rectangle class. There's a method called Intersect or Intersection or something like that.</p> <p>Say you have one object moving. Make a Rectangle to match the object in position(basically an invisible cover for the object). </p> <p>Do the same things with another object.</p> <p>When both are to collide, use the intersection method to check on the collision by using the rectangles.</p> <p>These might help<br> <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Rectangle.html" rel="nofollow">http://docs.oracle.com/javase/7/docs/api/java/awt/Rectangle.html</a><br><br> <a href="http://stackoverflow.com/questions/14616829/java-method-to-find-the-rectangle-that-is-the-intersection-of-two-rectangles-usi">Java method to find the rectangle that is the intersection of two rectangles using only left bottom point, width and height?</a><br><br> <a href="http://stackoverflow.com/questions/16771435/java-awt-rectangle-intersection">java.awt.Rectangle. intersection()</a></p>