<AWT Dev> [9] Review request for 8168135: The issue JDK-8164462 seems not fixed in b140

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Nov 24 15:44:24 UTC 2016


On 24.11.2016 17:28, Sergey Bylokhov wrote:

> Hi, Semyon.
> On 16.11.16 20:43, Semyon Sadetsky wrote:
>> The proposed solution posts paint event after the initial configuration
>> of the content window and ignore all WM expose events until the window
>> initialization is finished to avoid unwanted intermediate paints.
>
> Should the paintEvent be posted only if "needHandleResize" is true, 
> which will means that the size was changed and repaint is necessary?
Upon the content window configuration? Yes, paint event is only required 
if the content window is firstly configured because the previous expose 
events might be skipped. In other scenarios paint is posted by the 
expose event handler.
> Why the call to validateSurface() was removed?
because it has been already called in reshape().



More information about the awt-dev mailing list