i am running a for loop for creating and populating comboboxes...i am also using the function setEditable(true) to make the comboboxes editable..however in the gui i am not able to edit the comboboxes.
cmb1_1[i].setEditable(true) //is not working.
thanks for replying...but i can't use setEditable(true) before the for loop because the comboboxes are getting created in the loop...so if i try setting them before the loop it might give me NullPointerException...
@Sriraman Srinivasan: thanks for replying...i wrote the same code yet am unable to edit the comboboxes...moreover i removed all the comboboxes and just placed a jtextfield and the problem is that am not able to edit the textfield area also.I am unable to guess why am not able to edit any component(be it combobox or textfield).
@Sriraman Srinivasan:thanks....i am too confused why its not working....even when i remove all the comboboxes and just place a JTextField then also am unable to edit the textfield....if i click in the textfield to write anything then the cursor stands like
capital "I"(I).....:-( :-(