Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 725
  • Last Modified:

How Can I Set Java Swing Components to be Invisible or Hidden

Hello,

I have a large GUI interface built in NetBeans IDE using Java Swing and AWT components. How can I set the GUI components to be hidden or invisible? Without affecting the functionality or their presence. Will really appreciate a response.

Thanks

Anthony
0
anthonynonso
Asked:
anthonynonso
1 Solution
 
rnevetCommented:
if you don't want the layout to change:
every JComponent has a setVisible(boolean) function. should do the job.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now