Discussion Locked

Not a combo Box In APPLET

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
WHENEVER I CREATE A COMBO BOX THROUGH JAVA APPLET CLASS COMBOBOX , IT DOESN'T LET ME TYPE AN OPTION WHIH IS NOT PROVIDED IN THE CODEING. I THINK A COMBO BOX ALSO ACTS LIKE A TEXT BOX SO THAT WE CAN ALSO HAVE AN OPTION OF TYPING THE OPTION OF OWN CHOICE.

1 reply

by martin simons

I assume you mean JComboBox. If so, are you doing the following:

JComboBox jcb = ...
jcb.setEditable(true);

Without the second step the JComboBox is probably not editable, but only selectable.

This discussion is closed to new replies.