ActionPerformed vs ItemStateChanged

From: Krick (krick_at_my-deja.com)
Date: 11/25/03


Date: 25 Nov 2003 00:24:36 -0800

I never really know what events I'm supposed to be listening for to
detect GUI events.

Besides the one issue with editable combo boxes, is there any real
difference between ActionPerformed and ItemStateChanged Java component
events? Should I ever use one instead of the other? It seems like I
can always use ActionPerformed.

Actually, that's not always true, I did see a weirdness with
JBuilder's JdbComboBox control where it wouldn't fire an
ActionPerformed event and I had to listen for a
"PopupMenuWillBecomeInvisible" event to detect when someone
manipulated a JdbComboBox.

What's the consensus on this subject?

...
Krick



Relevant Pages

  • Re: ActionPerformed vs ItemStateChanged
    ... "Krick" wrote in message ... > difference between ActionPerformed and ItemStateChanged Java component ... events are appropriate for listening. ...
    (comp.lang.java.gui)
  • Re: Ozawa and De Waart S.F. Symphony Recordings on SF Classical Music Examiner
    ... listening to the music. ... performances therefrom purchasable as downloads. ... be perhaps three or four "must have" items evident to the music lover ... single one of the big boxes. ...
    (rec.music.classical.recordings)
  • Re: Is Big Brother Listening?
    ... the area and transmit the audio to a monitoring center. ... Onstar has this potential and so do cellphones. ... Activating the On-Star system, though, does alert the driver that the system is listening. ... Cable boxes, are something different. ...
    (rec.radio.shortwave)
  • Re: Network Analysis / Diagramming Tool
    ... Why not start using netstat -ano on your boxes? ... what each computer is listening for or connecting to... ... firewall ports need to be open for certain operations. ... and run through some test scenarios whilst the analyser capture the ...
    (microsoft.public.windows.server.networking)
  • Re: _I_ appreciate Arny Krueger and his ABX site. :)
    ... >>> listening to then regurgitating vendor hype. ... >> Looking at pretty boxes, looking at useless specs, no ... > You don't know the difference between useful specs and useless specs, ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (rec.audio.opinion)