I am working on a Swings application in which i've created a static Container which is used to enter some form fields. When i submit on this form the control is sent back to login frame which is aseparate
container. But the form Container doesn't go invisble. i've used the following code to make it invisble :
but it is not going invisible and remains intact in the background. Please suggest me how can i make it invisible.