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
anthonynonsoAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rnevetConnect With a Mentor Commented:
if you don't want the layout to change:
every JComponent has a setVisible(boolean) function. should do the job.
0
All Courses

From novice to tech pro — start learning today.