ActionPerformed vs ItemStateChanged
From: Krick (krick_at_my-deja.com)
Date: 11/25/03
- Next message: ak: "Re: Resizing window with Jslider, JScrollPane, JPanel and BufferedImage"
- Previous message: Andreas Schmidt: "Re: MouseListener doesn't react in JLabel"
- Next in thread: xarax: "Re: ActionPerformed vs ItemStateChanged"
- Reply: xarax: "Re: ActionPerformed vs ItemStateChanged"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: ak: "Re: Resizing window with Jslider, JScrollPane, JPanel and BufferedImage"
- Previous message: Andreas Schmidt: "Re: MouseListener doesn't react in JLabel"
- Next in thread: xarax: "Re: ActionPerformed vs ItemStateChanged"
- Reply: xarax: "Re: ActionPerformed vs ItemStateChanged"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|