I am writing a graphics-based app in Java. I've got a bunch of shapes that I need to manipulate on the screen, and was wondering if anyone knew of any way to find a Shape in a JPanel at a specific coordinate (such as that of a MouseEvent) other than storing them in an array or list and iterating through each entry until a Shape is found that contains those coordinates?