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

Artem Ananiev Artem.Ananiev at Sun.COM
Mon Jul 20 00:01:30 PDT 2009

Hi, Anthony,

I see a number of isValidateRoot() methods in Swing code besides in 
JComponent class. Probably, all of them could be linked (@see tag) to 
Container.isValidateRoot() as well?

Another idea is to override this method to return true for Window and 
Applet classes. This would simplify a code in a RepaintManager class, 
for example.



Anthony Petrov wrote:
> Hello Swing and AWT teams,
> This is the next version of the fix for the issue with the 
> invalidate()/isValidateRoot() methods. The webrev:
> http://cr.openjdk.java.net/~anthony/7-23-invalidate-6852592.1/
> I'm looking forward to your comments.
> -- 
> best regards,
> Anthony

More information about the awt-dev mailing list