Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5488
| From | Knute Johnson <nospam@rabbitbrush.frazmtn.com> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: actionListener vs. action |
| Date | 2016-02-25 13:16 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <nanqpn$fab$1@dont-email.me> (permalink) |
| References | <97d6e7d8-df96-4534-80c2-4d19e63a9b76@googlegroups.com> |
On 2/25/2016 10:59, phpete48@gmail.com wrote: > Hello all, > > I'm trying to clearly delineate actionListener and action. Could > someone please concisely compare the two. Also, under which > conditions should you use one over the other. > > I have looked this up on internet but none of the answers provided > enough detail. > > Thank you, Pete. > I would look at the docs for Action, it describes the difference and capabilities of Action pretty well. I use an Action when I've got to do the same thing with many components. I use ActionListener when I want to keep all the code for a specific component in one place. -- Knute Johnson
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
actionListener vs. action phpete48@gmail.com - 2016-02-25 10:59 -0800
Re: actionListener vs. action Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-02-25 13:16 -0800
Re: actionListener vs. action Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-02-25 21:15 -0800
Re: actionListener vs. action Jeff Higgins <jeff@invalid.invalid> - 2016-02-27 05:08 +0000
csiph-web