<AWT Dev> <Swing Dev> Review request #3: 6852592 (revalidate() must be smarter)

Anthony Petrov Anthony.Petrov at Sun.COM
Mon Jul 27 11:54:34 PDT 2009

Hi Alex,

On 7/27/2009 10:18 PM Alexander Potochkin wrote:
>> Could you please elaborate on possible situations that could break 
>> after making the Window/Applet the validate root?
> Let me describe the "best fix"
> 1) Bring isValidateRoot() up to the Component class
> 2) Make it return false
> 3) Leave all other stuff intact

The current fix does almost that with a few exceptions. Could you please 
describe at what exact cases promoting the isValidateRoot() to the 
Component instead of the Container might help? Any concrete existing 
methods/examples? Unfortunately I hardly see any, but maybe it's just me...

Also, I would still like to understand how making the Window/Applet 
class a validate root might harm, so I would kindly ask you to describe 
a hypothetical case, please.

best regards,

More information about the awt-dev mailing list