I want to set a jcombobox selected index to -1 when i click to enter text in a jtextfield.But when i set that line of code in jtextfield action performed then triggers the action performed of the jcombobox.How to set selected index of jcombobox to default without triggering the action performed method.
Thanks in advance.