hiya, pretty new to java and not very good at the moment. there is a program on javaboutique.com under source code, the letter j, jigsawpuzzle,

can anybody tell me which part of the code constricts the images to the red rectangles???

this could be useful for a program i am writing

tried to paste code, too much text, any help would be appreciated