On 7/14/2016 1:18 PM, Rajeev Chamyal wrote:

Hello All,

Please review the following webrev.

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

Webrev: http://cr.openjdk.java.net/~rchamyal/8158918/webrev.00/ <http://cr.openjdk.java.net/%7Erchamyal/8158918/webrev.00/>

Issue: Frame setExtendedState = 1 on a maximized frame is not working.

Cause: Issue is due to ::ShowWindow API call added as part of fix for JDK-8037575 <https://bugs.openjdk.java.net/browse/JDK-8037575>

Fix: Removed the ShowWindow call a sepate bug will be created for JDK-8037575 <https://bugs.openjdk.java.net/browse/JDK-8037575>

   40         if (frame.getExtendedState() != 1) {
   It is better to use the named frame state constant instead of just 1.

  Thanks,
  Alexandr.

Regards,

Rajeev Chamyal


Reply via email to