<Swing Dev> [12]RFR: JDK-6714324: Removing a component from a JTabbedPane does not clear its accessibleParent

Krishna Addepalli krishna.addepalli at oracle.com
Fri Nov 30 05:04:36 UTC 2018


Hello,

Can someone review this simple fix?

Thanks,
Krishna

> On 23-Nov-2018, at 12:42 PM, Krishna Addepalli <krishna.addepalli at oracle.com> wrote:
> 
> Hi All,
> Please review a simple fix for 
> JDK-6714324: https://bugs.openjdk.java.net/browse/JDK-6714324 <https://bugs.openjdk.java.net/browse/JDK-6714324>
> Webrev: http://cr.openjdk.java.net/~kaddepalli/6714324/webrev00 <http://cr.openjdk.java.net/~kaddepalli/6714324/webrev00>
>  
> The problem is when a tab component is added, and if there is an AccessibleContext defined for JTabbedPane, then that is added as a parent to the tab component being added, but while removing the same, the reference is still not cleared.
> This fix removes the reference to the accessibleParent in the child tab component.
>  
> Thanks,
> Krishna

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20181130/6530cbb4/attachment-0001.html>


More information about the swing-dev mailing list