Why some need to be setVisible() and some not

This is a general question. I am just why some Swing Components need to be setVisible() such as the JPanels, but JButtons don't need to be. What's the general rule guiding this?

Only top level containers (JFrame, JDialog) need to be set visible - all other components (JButton, JPanel, ...) are visible by default.
Sven

Similar Messages

  • I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I

    I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I have tried all suggestions in this thread and nothing works. I also hooked up to laptop through iTunes with micro USB nothing!!!

    The new appletv software came out 2 or 3 days ago, how would Apple get it on the device in the box in a store?
    Why don't ou update the appletv software?

  • HT6162 My phone will not let me download the most recent update for iOS 7.1. It says I need a wifi connection and will not allow me to push the 'Download & Install' button, even when I am at home and my wifi is on. How do I fix this?

    My phone will not let me download the most recent update for iOS 7.1. It says I need a wifi connection and will not allow me to push the 'Download & Install' button, even when I am at home and my wifi is on. How do I fix this?

    Unfortunately yes, though technology would never move on if it kept to older standards and did not strive to do more.
    The app store always gives you the option to use a previous version of the app IF it is available for your device.
    Sorry but you are stuck without new hardware.
    PJRS

  • I have keynote on my mac air.  However, it was purchased by a colleague under his email address.  Now when I go in it tells me that I need to prurchase it and will not let me use keynote.

    I have keynote on my mac air.  However, it was purchased by a colleague under his email address.  Now when I go in it tells me that I need to prurchase it and will not let me use keynote.

    yes, the software is on your Mac but it isnt licenced or owned by you so the digital rights management system Apple employs is blocking the application from being used. Its to stop illegal distribution of downloaded software.
    my only suggestion is to phone Apple and see if they can transfer ownership

  • Why does Adobe promise return calls and then not do so?

    Why does Adobe promise return calls and then not do so?   To avoid talking with customers?

    Thanks for your reply - unfortunately I have talked with an Adobe
    representative in India and their action is to put one on hold
    indefinitely.  I am annoyed  because I paid an additional $60 to them 
    for no reason.  Appreciate your comment.
    des

  • Why we need two Joins (Left and Right)

    Hi,
    Why we need two joins while we can do it just by replacing the tables?
    Query 1.
    SELECT e.ename, d.dname
    FROM emp e LEFT JOIN dept d ON e.deptno = d.deptno ;
    Query 2.
    SELECT e.ename, d.dname
    FROM emp e RIGHT JOIN dept d ON e.deptno = d.deptno ;
    The same result of Query 2 can be get from following query with LEFT JOIN.
    Query 3.
    SELECT e.ename, d.dname
    FROM dept d LEFT JOIN emp e ON e.deptno = d.deptno ;
    So why we need LEFT and RIGHT Joins while we can do this by just replacing tables position ( as in Query2 and Query3).
    Regards,
    Danish

    Danish wrote:
    Any other suggestions?What do you find lacking in the answers that have been suggested so far?
    Why would you restrict the syntax so that you only had one of the two syntax options? That forces developers to write queries in a particular way. If you only had a LEFT OUTER JOIN operator, for example, the first table would always have to be the one that drove the number of rows in the result set. Sometimes (most of the time in my experience), that's a sensible way to approach the problem. But occasionally you get problems where you want to start with the sparse tables and join to the denser tables and having the RIGHT OUTER JOIN makes it much easier to approach the problem that way.
    Re-ordering the tables in a query using ANSI syntax is also not necessarily a trivial endeavor. If you're working on building up a query (i.e. join 3 tables, verify the results, join a fourth table, verify the results, etc.) it's potentially non-trivial to change the order of the tables-- you may find that you've inadvertently changed the semantics of your query and now you have to backtrack a bit to verify the new logic.
    It's also the same reason that you have multiple ways to write a loop or multiple ways to iterate through a collection. While it's completely possible to rewrite any loop in the form
    LOOP
      <<do something>>
      EXIT WHEN <<something>>
      <<do something else>>
    END LOOP;that's not always the clearest way to express a piece of logic. Generally, a nice FOR loop or a nice WHILE loop is simply a clearer and cleaner solution. Similarly, sometimes a LEFT OUTER JOIN is a clearer way of expressing a SQL statement and sometimes a RIGHT OUTER JOIN is a clearer way of expressing it.
    Justin

  • I have recently installed windows XP on my bootcamp partition. I am in need for the drivers and what not so that it will run effectivly and the bootcamp assistant canot find the "Windows Support Sofware" Can anyone help me find it manually?

    As the title has stated, I have recently installed Windows XP on my Bootcamp Partition. I am in need of the "Windows Support Software". I am assumeing that is the information that has the Drivers and what not that allow me o properly use my Mac with windows. If anyone can help me locate this inforamtion i would be greatly.... Greatfull.
    P.S. The bootcamp assistant is telling me that the Windows Support Sofware canot be found.

    You both would have had correct awnsers, but i have a Macbook that is close to three years old. And i can't seem to find my Disc. The only reason i haven't ordered a new one in case of emergencies is I plan on upgrading to the new OS in less then a month.
    I think the following may help me (In case anyone els is looking):
    http://support.apple.com/kb/DL830

  • Need to search "__sen" and/or/not "_sen". Vildcard DOS ? !

    let's search:
    ??sen
    ???sen
    *sen
    and or not

    It should usually work if you just type the page name in the location bar in normal online mode to access a router setup if that is what yo need to do.
    Which search do you need to perform according to the instructions from TIVO?
    If the adapter is installed and set up properly via the network settings then no further action should be needed for that part.

  • I am new to this I Pad Air and was downloading some games and it is still in waiting mode with the circle continually going in circles. I need to delete these and do not see how to do this. also need to know where I go to delete history

    I am new to this I Pad Air and was downloading games and is still showing in waiting mode with the circle continually going Arian. I want to delete but unable to figure ot how. also needing to delete history, need a lot of help

    Hey Carolyn1951,
    Thanks for the question. I understand you have a few apps that only display "Waiting". The following is a past discussion that dealt with a similar issue, the answer may help you as well:
    App updates won't download on my...: Apple Support Communities
    https://discussions.apple.com/thread/4111336
    Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
    Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
    If that doesn't do it, try resetting or restoring the iPhone.
    via whatheck
    Thanks,
    Matt M.

  • HT1338 And why we need both Software Update and App Store in Mac OS X 10.8?

    Since clicking Software Update brings the App Store anyway

    Apple's recommendation is a broadband connection but not one with restrictions.
    Here's why. Your profile indicates you have v10.8 Mountain Lion installed.
    If at some point you need to reformat, repair, or restore OS X, that can definitely take more than 30 minutes. To restore OS X alone takes about 45 minutes with a high speed internet connection.
    Requirements for reinstalling OS X Lion or OS X Mountain Lion
    "Reinstalling OS X Lion or OS X Mountain Lion via OS X Recovery requires broadband access to the Internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the Internet from Apple when OS X Recovery is used for reinstallation."
    From here > OS X: About OS X Recovery

  • Why i need to compile again and again after editing?

    Hi all,
    I would like to ask you something about compiling. Before i run my program i've got to compile for the first time . But whenever i stop running and edit my program, i need to recompile it again . Is it the normal condition or not? could you advise me something about that ?
    Thank you .
    with respect ,
    roxy   

    You probably need to give us a few more details.
    Is this about LabVIEW? Are you using plain LabVIEW or some specialize flavor (e.g. RT, embedded, FPGA, etc.).
    (It is normal that a program needs to be recompiled if you edit the code, but in LabVIEW this is automatic and typically near instantaneous.)
    LabVIEW Champion . Do more with less code and in less time .

  • Why dispute case "status" changing automatically and also not updating in log

    HI,
    I found something curious as you can see in the image below , I was process dispute case  "data complete" to "Partially Approved - SDC"  but system automatically changing status to data complete ... I did 2 times but system is automatically changing status  . We are unable to get the details in log also.
    Any one can help why system is automatically changing and log is not updating .

    Hi,
    It may be the case that some of the SharePoint timer jobs were not created when the PWA was provisioned.
    Try to re-provision the PWA instance and see if that would help (edit the PWA instance in SharePoint Central Admin without changing anything)
    Paul

  • Why does my Mac keep freezing and applications not responding?!?

    Hello everyone, I have a mid 2009 MacBook Pro, 500gb HD, 4gb ram. The problem is that it keeps freezing. I am writing this on my iPhone because my laptop would probably just freeze up if I even attempted to open an application. The problem is that my laptop won't stop freezing up. As soon as I have any application open, it will stop being responsive, give me the beach ball spinning wheel thing, and I'll use command-option-escape to open the force quit menu (because at this point the mouse usually can me moved around the screen but just makes the system get worse) to force quit what ever applications I have open. Then finder will stop responding, and then nothing will work until I do a forced shut down (hold the power button down) and turn it back on again, where the same thing happens within a minute. I tried repairing permissions and doing a P RAM reset, but have had no success with either. Please help, this is ridiculous, I can barely use my laptop and I need it for school. Thanks,
    -Dylan

    Your issue sounds like the hard drive is failing or it was bumped or moved while it was operating and corrupted the data on the drive.
    Hard to tell for sure, run through this list of fixes
    Step by Step to fix your Mac
    Note your signature says it's a 2009 model, that's almost 4 years old and near it's end of life stage of apx 4.5-5 years, a new drive might fix the machine, but clogged dust vents could be killing it too..
    Out of AppleCare and warranty, looks like you might be doing it yourself.
    Create a data recovery/undelete external boot drive
    My computer is not working, is my personal data lost?
    Install/upgrade RAM or storage drive in Mac's
    How to erase and install Snow Leopard 10.6

  • Im on a Mac OS X 10.6.8 and i need 10.7 Lion and its not letting me download it because i want to download it for a minecraft bukkit server everytime i run it says this requires 10.7 lion or higher and im trying to download that! What do i do?

    i really need to know how

    You need to purchase Lion from the App Store, which should start it downloading.  Is that how you are downloading it, and if so, how is it not working?

  • Why would my MBA become black and will not wake up pressing any key ?

    I have my MBA since 2008, wonderful, no problem. But suddenly, when I come to my desk in the morning, the screen is black and no key will make it come alive again.
    I have to switch it off, and on again to regain activity.
    Why would that be ?

    I have started experiencing the same problem and I'm testing the machine before bringing it in for repair. It seems to be affected at high CPU usage. To bring the screen back on I usually close the lidm put it to sleep and then open the lid again.

Maybe you are looking for

  • Editable Regions and Templates -- Problem in IE

    Hello, I have a template that I use throughout my site. The template includes the Spry Menu Bar and three editable regions. The pages all look great in Firefox. But in IE6 and IE7, there is a problem--white space vanishes and the text is too close to

  • Custom sort - Bridge

    I have been trying to create a plugin for Adobe Bridge that allows me to sort images by specific information included in the file name (e.g. CTR_2001 Cat D7R_SN 1124.jpg where CTR is the code, Cat is the manufacturer and 2001 the year). First I need

  • Issue when starting the config tool

    Hi Everyone, When I have started  the Config tool, the "SAP J2EE engine - Config tool" screen comes up. Then I have a pop up which says that "Do you want to use the default DB settings". When given "Yes", it  goes connecting to database. During this

  • Page URL's and Nav Bars

    Reposted question: Internal URL is often more than 300 chars, but the nav.bar URL does not store more than 256 (Could that be an possible enhancement?) Is there another way to do an navigation to an Portal page ?

  • Exception (or crash) when executing an XmlModify with multiple remove exprs

    Hi all, The following code snippet resembles my execution path for updating some nodes in a document.     XmlManager manager = DbController::getInstance()->getManager();     XmlContainer container = DbController::getInstance()->getContainer();     Xm