That method is deprecated- you're supposed to use setVisible() instead. Keep in mind that simply making the component invisible doesn't actually remove it, so what you're doing is causing a possible...
Type: Posts; User: KevinWorkman
That method is deprecated- you're supposed to use setVisible() instead. Keep in mind that simply making the component invisible doesn't actually remove it, so what you're doing is causing a possible...
I can't run that because it's not an SSCCE. But where do you validate your Container after removing the component?
...what? What are you adding/removing from if not a Container? What do you mean by "remove method only disable the textfield"?
If you want help, you'll have to provide an SSCCE, as I don't really...
Sigh. What about it didn't work? Where's your SSCCE? Did you validate the Container after making the change?
There's a remove method in the Container class. Didn't you google this or look at the API first?