maggie7 - 2009-02-21

Hi there,

   I am trying to use JComboBoxTester.actionSelectItem(JComboBox, String) to select an item from a customized combo box with a renderer defined. The combo box item is an instance of an application object class whose toString() routine is not overrided to show the displayed string in the combo. Is there any other programmatically way to select an item from such a combo box by giving just a String? I have seen a method in JComboBoxTester.getValueAsString that should be designed for such case, but don't know I should use it. Any suggestions will be greatly appreciated. Thanks.