This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've got an applet with a comboBox in it, i've set an action listener for the combo, and i want to test that the code i've got attached to it when the it is invoked... so i created a test class but i dont know how to invoke the combo box (to test the code)... normally i go for doClick to invoke the buttons without launching the applet, but i dont know what to do for the comboBox!
Not sure but after attaching the Listener if you change the state of the comboBox by setting the selected value at different index then it will trigger the actionListener. Please let me know if it does not