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


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

Re: ActionEvent Generator

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.java.programmer
Subject Re: ActionEvent Generator
Date Mon, 02 Feb 2015 09:57:32 -0500
Organization A noiseless patient Spider
Lines 33
Message-ID <mao37r$n7a$1@dont-email.me> (permalink)
References <mamhh8$q6r$1@dont-email.me> <1ntyo3z5h50na$.ag6crlwubkpz$.dlg@40tude.net>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
Injection-Date Mon, 2 Feb 2015 14:56:59 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="3088393e34bc61b3e6a923d0c81ae1e3"; logging-data="23786"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1903IYwMw3zpSsngFpW8h35LCCZDzF1zOo="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <1ntyo3z5h50na$.ag6crlwubkpz$.dlg@40tude.net>
Cancel-Lock sha1:D21O5fCqbtik6Bkl+Uf9rj9hm+M=
Xref csiph.com comp.lang.java.programmer:31015

Show key headers only | 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