<Swing Dev> RFR: 8265528: Specification of BasicSplitPaneDivider::getMinimumSize, getPreferredSize doesn't match with its behavior. [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu May 6 06:51:34 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.

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Add implSpec tag

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3870/files
  - new: https://git.openjdk.java.net/jdk/pull/3870/files/5e816095..eea67529

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3870&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3870&range=00-01

  Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 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