On Mon, 28 Jul 2025 09:14:48 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> It seems JList.getScrollableUnitIncrement can sometime return 0 instead of 
> positive number which is not specified in the javadoc which can lead to 
> confusion. Clarified javadoc as to when it can return 0.

I think adding an explanation of possible values to the return value makes it 
too wordy. The explanation of what can be returned should probably be put into 
the body of the specification. Maybe it would work as a note above the 
parameters?

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

PR Review: https://git.openjdk.org/jdk/pull/26500#pullrequestreview-3080651596

Reply via email to