RenderRects r = new RecnderRects(); r.getLeft(); Where is getSize()? Are you using Component's getSize() method?
Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
posted 18 years ago
getLeft and compareSize (not getSize, sorry) are in the Rectangle class. When renderFromLeft is called the rectangles in the vector are supposed to be redrawn starting with the rectangle that is furthest from the left, so that the rectangle closest to the left is on top. Thanks, Hansie