On Wed, 20 Jul 2022 09:12:38 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> Setting JSplitPane divider size to negative value leads to unexpected results 
> and is not desirable and seems to be not practical.
> I guess we should return IAE but it might break existing app so fixed to 
> clamp it to 0 incase negative value is tried to be set for divider size.

This pull request has now been integrated.

Changeset: 2be31587
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/2be315877b734b70170ef6375712188d7cd64268
Stats:     80 lines in 3 files changed: 80 ins; 0 del; 0 mod

4797982: Setting negative size of JSplitPane divider leads to unexpected 
results.

Reviewed-by: azvegint, prr

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

PR: https://git.openjdk.org/jdk/pull/9566

Reply via email to