Developers need a way to layout a component hierarchy that is not showing. There are multiple reasons they may wish to do this.
For example, consider a developer wanting to create an entire GUI of lightweight Swing components and then render it to an image. This cannot be done since there's no simple way to cause layout to occur. The validate method bails if the component has no peer and validateTree is protected. Please consider fixing validate so that it works when the component is not peered.
###@###.### 2005-1-07 17:45:31 GMT