• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

invoking comboBox!

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

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!

any help?
Thank you
Christin
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic