Hi,
I am updating the checkbox items in one funciton. For that i need to remove the old one and add the new items but how old items can be removed?
Thanks in advance.
Printable View
Hi,
I am updating the checkbox items in one funciton. For that i need to remove the old one and add the new items but how old items can be removed?
Thanks in advance.
Do you mean JComboBox component?
Container.remove()
Call it from the same class that called Container.add()
(Usually add() is called on some object of a sub...subclass of Container;
call remove() the same way.)