This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Better way is to simply use CardLayout, which use show/hide instead of addNotify/removeNotify. Be careful to correctly restore Swing component visibility flag when component is removed from TabbedDisplayer.
*** This issue has been marked as a duplicate of 36164 ***