<Swing Dev> RFR: 8265528: Specification of BasicSplitPaneDivider::getMinimumSize, getPreferredSize doesn't match with its behavior.
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed May 5 07:09:20 UTC 2021
The current specification of these 2 methods
api/java.desktop/javax/swing/plaf/basic/BasicSplitPaneDivider.html#getPreferredSize().
and
api/java.desktop/javax/swing/plaf/basic/BasicSplitPaneDivider.html#getMinimumSize()
does not specify correct return values. Also, the spec is not very intuitive and clear.
Rectified the spec to specify correct behaviour.
-------------
Commit messages:
- 8265528: Specification of BasicSplitPaneDivider::getMinimumSize,getPreferredSize doesn't match with its behavior.
Changes: https://git.openjdk.java.net/jdk/pull/3870/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3870&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8265528
Stats: 17 lines in 1 file changed: 14 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/3870.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3870/head:pull/3870
PR: https://git.openjdk.java.net/jdk/pull/3870
More information about the swing-dev
mailing list