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 - OutputTabTerm should not implement TopComponentListener
Summary: OutputTabTerm should not implement TopComponentListener
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2002-06-27 10:12 UTC by Jiri Skrivanek
Modified: 2008-12-23 09:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...