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

hansie klinefelt
Greenhorn

Joined: Aug 05, 2002
Posts: 3

posted Aug 05, 2002 05:13:00

0

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