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

Peter Zhelezniakov Peter.Zhelezniakov at Sun.COM
Thu Jul 16 01:37:31 PDT 2009

Christopher Deckers wrote:
> This may be a stupid idea, so disregard it if it is :)
> If the problem is having isValidateRoot() used by AWT code, why not promote:
> public/protected boolean isValidateRoot()
> to the Container class? It would obviously return false by default,
> but if custom code wants to play with it (which is anyway unlikely to
> happen) why not! After all, is there anything specially swingish with
> this method?

I like this solution best. Having that failed, i would implement Alex's 
suggestion. The cleaner the code, the happier we hackers are =)


More information about the awt-dev mailing list