<AWT Dev> [8] Review request for 8013189: JMenuItems draw behind TextArea

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri May 24 08:07:52 PDT 2013


Hi, Anthony.
Is our LWTextAreaPeer has the same problem?

On 24.05.2013 17:44, Anthony Petrov wrote:
> Hello,
>
> Please review a fix for http://bugs.sun.com/view_bug.do?bug_id=8013189 
> at:
>
> http://cr.openjdk.java.net/~anthony/8-58-textAreaMixing-8013189.0/
>
> 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.
>
> Solution:
> 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,
> Anthony


-- 
Best regards, Sergey.



More information about the awt-dev mailing list