| | |
Combobox Event listener?
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
You need to add ItemListener to your combo-box. The sun tutorial is brilliant, look here :
http://http://java.sun.com/docs/book.../combobox.html
I hope that helps!
EDIT: lol James Cherrill, you just beat me to it! Same tutorial as well, great minds...
http://http://java.sun.com/docs/book.../combobox.html
I hope that helps!
EDIT: lol James Cherrill, you just beat me to it! Same tutorial as well, great minds...
Last edited by majestic0110; Sep 22nd, 2009 at 8:27 am.
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
•
•
•
•
You need to add ItemListener to your combo-box. The sun tutorial is brilliant, look here :
http://http://java.sun.com/docs/book.../combobox.html
I hope that helps!
EDIT: lol James Cherrill, you just beat me to it! Same tutorial as well, great minds...
Here is a working version of your link
"Argyou not with the hand you are dealt in cards or life." ---- Wizard and Glass
![]() |
Similar Threads
- Passing event to another class (Java)
- combobox and textbox (VB.NET)
- help for awt event handling consume fundamantal (Java)
- JCombobox & XML (Java)
- Floating/scrolling image? (JavaScript / DHTML / AJAX)
- A doubt in SWING event handling (Java)
- Help about AJAX. (JavaScript / DHTML / AJAX)
- DatagramSocket auto-close? (Java)
Other Threads in the Java Forum
- Previous Thread: Calling a MIDlet from another MIDlet for low end phone(e.g s40 type)
- Next Thread: array of structs
Views: 439 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for Java
2dgraphics android api apple applet application arguments array arrays automation banking binary binarytree bluetooth chat chatprogramusingobjects class classes client code component database derby design detection draw eclipse encryption error event exception file fractal game givemetehcodez google graphics gui helpwithhomework html ide if_statement image input integer interface j2me java javadesktopapplications javaprojects jmf jni jpanel julia linux list loop map method methods mobile multithreading netbeans newbie number object oracle os print printing problem program programming project recursion reference remove ria scanner screen server set size sms socket sort sourcelabs sql stop string swing test threads time transfer tree ui unicode validation windows






