I want to trigger an event when ever an item is changed in a combo box...how can i do it?

what is the listener & action?

thnkx in advance.....

Recommended Answers

All 4 Replies

You need to add ItemListener to your combo-box. The sun tutorial is brilliant, look here :


I hope that helps!

EDIT: lol James Cherrill, you just beat me to it! Same tutorial as well, great minds...

Your link doesn't work, you have an extra http://

Here is a working version of your link :)

commented: lol thanks for spotting that, silly me ! +5

lol thanks for that Jasimp, silly me! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.