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.

Bug 25222

Summary: OutputTabTerm should not implement TopComponentListener
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: Window SystemAssignee: Peter Zavadsky <pzavadsky>
Status: CLOSED INVALID    
Severity: blocker Keywords: T9Y
Priority: P3    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2002-06-27 10:12:25 UTC
OutputTabTerm instances don't appear in list of
all TopComponents obtained by this:

 Iterator it =
TopComponent.getRegistry().getOpened().iterator();
 while (it.hasNext()) {
     System.out.println("TC="+it.next());
 }

From the sources I have looked at, I suspect that
OutputTabTerm should not implement
TopComponentListener because WindowManagerImpl
registers a TopComponent by calling
topComponentOpened() itself.
Comment 1 Jiri Skrivanek 2002-06-27 10:20:49 UTC
Sorry, OutputTabTerm instances actually appear in the list.
Comment 2 Jiri Skrivanek 2002-06-27 10:28:22 UTC
It is really user mistake.
Comment 3 Jan Chalupa 2003-11-03 16:18:42 UTC
Previously CLOSED issue that was mistakenly put into the NEW
state... closing again...