<AWT Dev>  Review request for 8013189: JMenuItems draw behind TextArea
anthony.petrov at oracle.com
Fri May 24 08:19:57 PDT 2013
I don't believe so. While LWAWT toolkit uses Swing components
internally, these internal components never use a real component from
the actual components hierarchy as their parent. Invalidating the
internal components can't cause the actual components to be invalidated.
Also, according to your comment in the bug report, you couldn't
reproduce this issue on Mac.
So, I don't think this is a problem for any other toolkit or component.
On 05/24/2013 07:07 PM, Sergey Bylokhov wrote:
> Hi, Anthony.
> Is our LWTextAreaPeer has the same problem?
> On 24.05.2013 17:44, Anthony Petrov wrote:
>> Please review a fix for http://bugs.sun.com/view_bug.do?bug_id=8013189
>> 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