<AWT Dev> Request for Review: 7170655 frame size change does not follow label font change
luchsh at linux.vnet.ibm.com
Wed May 23 03:15:32 PDT 2012
On 05/22/2012 10:23 PM, Sergey Bylokhov wrote:
> Hi, Jonathan,
> Looks like this bug is duplicate of
> And the reason of the issue is that we post UpdateEvent in
> target.repaint() in XLabelPeer.setFont(), but we should paint native
> part of the component in place and then post PaintEvent.
> - To fix  we can replace target.repaint() to repaint() in
> setFont(). Does it solve your issue?
Yes, this resolves my problem, and here's the updated patch from your
Thanks a lot!
> 22.05.2012 11:47, Jonathan Lu wrote:
>> Hi awt-dev,
>> Here's a patch for bug 7170655, could anybody please help to take a
>> The problem is that painting event from EDT during painting handling
>> does not get processed immediately, so leave a lag to the user. My
>> solution here is to coalesce and dispatch the new paint event right
>> after it was posted. This happens only to AWT components.
More information about the awt-dev