Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2181
| From | "Laird Nelson" <laird.nelson@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: confused about the se |
| Message-ID | <1186014148.734289.69520@l70g2000hse.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <1186005594.700709.257210@j4g2000prf.googlegroups.com> |
| Date | 2011-04-27 15:37 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On Aug 1, 5:59 pm, Ray Ma <Wenj...@gmail.com> wrote: > I wonder why and how can I control their order of > execution? According to the Java beans specification, from which EventListeners are derived, you can't. An implementation other than Sun's is free to fire listeners in any order whatsoever. Pragmatically speaking, I know that a lot of implementations of event broadcasting traverse the list in reverse order. If you didn't care about the specification, and only cared about this particular VM, you could probably rely on that, as it hasn't changed in years. Best, Laird --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
confused about the sequen "Ray Ma" <ray.ma@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000 Re: confused about the se "Laird Nelson" <laird.nelson@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000 Re: confused about the se "Tom Hawtin" <tom.hawtin@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000 Re: confused about the se "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
csiph-web