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.
My code does not implement topcomponent still it needs to listen on windowsystem events. In current situation a heuristic approach based on interpreting TC.registry property change must be employed. It's weak. Please introduce ComponentListener enhancement e.g. TopComponentListener featuring: componentOpened(TC) componentClosed(TC) methods.
Created attachment 14513 [details] Current heuristics snippet
duplicate of #48937 *** This issue has been marked as a duplicate of 48937 ***