g2d.setClip( clipArea );
// draw all of the links Iterator linkIterator = links.iterator(); while (linkIterator.hasNext()) { WidgetIF widget = (WidgetIF) linkIterator.next();
widget.draw( g2d ); }
One minor optimization here. Rather than draw all of the links individually clipped, draw them all to an intermediate buffer and then render that buffer to the screen clipped. That will only work, of course, if your background is simple as that last "clipped drawImage" will obliterate everything outside of the rectangles.
...jim
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".