Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8079640
webrev: http://cr.openjdk.java.net/~ssadetsky/8079640/webrev.00/

*THE ROOT CAUSE
Component minimum size is limited to Short.MAX_VALUE in GroupLayout.
JDK turtorial https://docs.oracle.com/javase/tutorial/uiswing/layout/group.html tells that Short.MAX_VALUE is treated as infinite. But I did not find any reasons in JDK specs why a bigger number cannot be used.

*SOLUTION
Remove the limitation

*TESTING
Test is added to cover the large component scenario.
Existing GroupLayout tests are passed.

--Semyon

Reply via email to