<Swing Dev> RFR JDK-8172804: SwingSet Automation: Jemmy Library : FrameOperator: maximize() and demaximize() are not properly implemented

Sergey Bylokhov sergey.bylokhov at oracle.com
Tue Jan 17 18:38:15 UTC 2017


Looks fine.

> 
> Hi All,
>  
> Please review the following:
>  
> Bug : https://bugs.openjdk.java.net/browse/JDK-8172804 <https://bugs.openjdk.java.net/browse/JDK-8172804>
>  
> Webrev Link: http://cr.openjdk.java.net/~akolarkunnu/8172804/webrev.00/ <http://cr.openjdk.java.net/~akolarkunnu/8172804/webrev.00/>
>  
> Summary: This is a fix for a bug in Jemmy code, that we found while automating the SwingSet Demo.
> Previously maximize() was implemented using Frame.setSize() which will set frame size as screen size, but its state is not changing, it will be Frame.NORMAL itself. 
> Now it is implementing using, Frame.setExtendedState() with Frame.MAXIMIZED_BOTH as parameter, so that its actual state also will set to Frame.MAXIMIZED_BOTH. 
> 
> Also demaximize() is not implemented completely. So demaximize() is implementing using Frame.setExtendedState() with Frame.NORMAL .
>  
> Regards,
> Muneer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170117/f2b8a65a/attachment.html>


More information about the swing-dev mailing list