Solved

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

Posted on 2010-11-28
1
698 Views
Last Modified: 2013-12-14
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
Comment
Question by:anthonynonso
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
rnevet earned 500 total points
ID: 34226541
if you don't want the layout to change:
every JComponent has a setVisible(boolean) function. should do the job.
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video teaches viewers about errors in exception handling.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question