• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make Container invisble  RSS feed

 
Vazzdoin Rocko
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Thanks.
 
Rob Spoor
Sheriff
Posts: 20903
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vazzdoin Rocko wrote:Swings

Swing is a proper noun
 
Campbell Ritchie
Sheriff
Posts: 53779
128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That code looks very peculiar. Have you got all your fields static or something? Why have you not given them private access?

Why don’t you use a modal dialogue?

I shall move this discussion to our GUIs forum.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1103
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vazzdoin Rocko wrote:

Does this even compile? the method is setVisible and not setvisible.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!