Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31015

Re: ActionEvent Generator

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.java.programmer
Subject Re: ActionEvent Generator
Date 2015-02-02 09:57 -0500
Organization A noiseless patient Spider
Message-ID <mao37r$n7a$1@dont-email.me> (permalink)
References <mamhh8$q6r$1@dont-email.me> <1ntyo3z5h50na$.ag6crlwubkpz$.dlg@40tude.net>

Show all headers | View raw


On 2/2/2015 2:40 AM, Joerg Meier wrote:
> On Sun, 01 Feb 2015 19:49:12 -0500, Jerry Stuckle wrote:
> 
>> I have a need to generate an ActionEvent to drive handlers, and am
>> having trouble finding examples.  It doesn't seem to be as easy as a
>> PropertyChangeEvent, for which there are multiple examples.  I've also
>> looked at some of the Java source code and it seems somewhat convoluted.
> 
>> I don't need something real fancy - just the ability to generate an
>> ActionEvent in my object and have it passed to the handlers.  Can anyone
>> point me to some example code showing an easy way to do this?
> 
> You've already gotten answers that seem like they answered your question,
> so I'm only going to add this additional piece of advice: when you are
> looking for something like this, it's usually quick and easy to find
> apropriate code in the Java libraries to look at.
> 
> Liebe Gruesse,
> 		Joerg
> 

Joerg,

Thanks, but I did look through a lot of the library code.  But the code
in the libraries is much more complicated than what Thomas showed me,
and much more than what I need.  Thomas's code is simple and easy :)

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

ActionEvent Generator Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-01 19:49 -0500
  Re: ActionEvent Generator Thomas Richter <thor@math.tu-berlin.de> - 2015-02-02 02:27 +0100
    Re: ActionEvent Generator Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-02 09:43 -0500
  Re: ActionEvent Generator Jeff Higgins <jeff@invalid.invalid> - 2015-02-01 20:30 -0500
    Re: ActionEvent Generator Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 07:38 -0500
      Re: ActionEvent Generator Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-02 09:41 -0500
    Re: ActionEvent Generator Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-02 09:40 -0500
  Re: ActionEvent Generator Joerg Meier <joergmmeier@arcor.de> - 2015-02-02 08:40 +0100
    Re: ActionEvent Generator Jerry Stuckle <jstucklex@attglobal.net> - 2015-02-02 09:57 -0500

csiph-web