General discussion

Locked

Not a combo Box In APPLET

By abamahajans ·
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.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Martin Simons In reply to Not a combo Box In APPLET

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.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums