More than 1 MouseListener
- From: Thorsten Kiefer <thorstenkiefer@xxxxxx>
- Date: Mon, 31 Mar 2008 14:08:15 +0200
Hi,
I wrote a component (MyComp1 extends JComponent) which adds a MouseListener
to itself.
Then I wrote another component (MyComp2 extends MyComp1) which also adds a
MouseListener to itself.
The problem is that within an instance of MyComp2, the MouseListener added
by MyComp1 does
not receive MouseEvents anymore.
getListeners(MouseListener) also shows, that the instance of MyComp2 only
has 1 listener.
How can MyComp1 still receive MouseEvents ?
Best Regards
Thorsten
.
- Follow-Ups:
- Re: More than 1 MouseListener
- From: Roedy Green
- Re: More than 1 MouseListener
- From: Thorsten Kiefer
- Re: More than 1 MouseListener
- Prev by Date: Re: what is the meaning of stdio.h in ''c'' language?
- Next by Date: Re: More than 1 MouseListener
- Previous by thread: What emerging or mid-cap telecom companies have the potential to be highly successful over the next 5 - 10 years?
- Next by thread: Re: More than 1 MouseListener
- Index(es):
Relevant Pages
|