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

Muneer Kolarkunnu abdul.kolarkunnu at oracle.com
Mon Jan 16 13:39:49 UTC 2017


Hi All,

 

Please review the following:

 

Bug : https://bugs.openjdk.java.net/browse/JDK-8172804

 

Webrev Link: 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/20170116/b081849d/attachment.html>


More information about the swing-dev mailing list