0

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.....

4
Contributors
4
Replies
7
Views
7 Years
Discussion Span
Last Post by majestic0110
Featured Replies
  • 1

    [QUOTE=majestic0110;993201]You need to add ItemListener to your combo-box. The sun tutorial is brilliant, look here : [URL="http://http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html"]http://http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html[/URL] I hope that helps! EDIT: lol James Cherrill, you just beat me to it! Same tutorial as well, great minds...[/QUOTE] Your link doesn't work, you have an extra http:// [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html"]Here[/URL] is a working … Read More

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.