<AWT Dev>  Review request for 8013189: JMenuItems draw behind TextArea
artem.ananiev at oracle.com
Thu May 30 06:55:31 PDT 2013
my first thought about this bug was the same as Sergey's: override
isValidateRoot() in XTextArea. Unfortunately it doesn't work, and you
have already explained why.
Given that, the proposed change looks reasonable.
On 5/24/2013 5:44 PM, Anthony Petrov wrote:
> Please review a fix for http://bugs.sun.com/view_bug.do?bug_id=8013189 at:
> Root cause:
> The TextArea's parent is set as a parent for internal XTextAreaPeer
> components, causing the parent to be invalidated when the internal
> components get invalidated.
> Implement the java.awt.smartInvalidate behavior locally for the
> XTextAreaPeer internal components. This prevents the invalidation of the
> TextArea's parent, and the bug is resolved.
> best regards,
More information about the awt-dev