On Thu, 8 Sep 2022 09:46:03 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> JTabbedPane throws NPE from its stateChanged listener as it tries to access 
> uninstantiated TabbedPane.
> Fix is to use the tabPane passed to stateChangeListener so that correct 
> tabPane is accessed.

This pull request has now been integrated.

Changeset: ab7f58a3
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/ab7f58a3771f5f8e7240f53d595bdf91a17874d2
Stats:     77 lines in 2 files changed: 76 ins; 0 del; 1 mod

6286501: JTabbedPane throws NPE from its stateChanged listener in particular 
case

Reviewed-by: jdv

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

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

Reply via email to