Topi Maenpaa wrote:
>
> I have noticed some things that do not seem to work right in your current JDK1.2
> release for Linux. The reason why I consider these bugs is that the same things
> work on Sun's implementation.
>
> 1. Is there a problem with the ActionListeners? I have noticed that some events do
> not arrive to the listeners in the order the listeners were added. I mean that
> when I do button.addActionListener(listener1) followed by
> button.addActionListener(listener2), listener1 should receive action events first.
> If this is not the case, I am doing something very stupid...
...
For this 1st issue, you assumption is not true. Specification does not
warrant the order in which listeners will obtain notifications.
Moreover, if AWTEventMulticaser is used to support event delivery (that
is probably the case for your button), the order will be reverse to the
listener adding order.
All the Best
Pavel
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]