<AWT Dev> [9] Review Request: 8148109 [SWT] Provide a supported mechanism to use EmbeddedFrame

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Aug 2 15:36:29 UTC 2016

On 02.08.16 18:28, Philip Race wrote:
> Ok, so when you wrote :
>  - On OSX validateWithBounds() intentionally was changed to
> setBoundsPrivate() as on other platforms.
> where should I see that change ?

In the CViewEmbeddedFrame we have two methods setBoundsPrivate() and 
validateWithBounds(). Currently on OSX the SWT library use 
CViewEmbeddedFrame.validateWithBounds() (this method also validate the 
frame and make it visible). In the jawt api I use setBoundsPrivate() and 
skip validateWithBounds, so validate+setVisible should be called by the 
client of jawt API. (like on other platforms win/lin). I am actually not 
sure that it is necessary to call validate here.

Best regards, Sergey.

More information about the awt-dev mailing list