How can i close a container?

I am trying to close a container but I can't use dispose() method. When i tried setVisible(boolean), it was messing up the display.

RTFM
If you look at the JavaDocs, you'll see that getParent() returns a container ... which you can call remove on.
And another thing... Saying "I cannot call remove() method on the parent of the container because the parent is a Component" doesn't make sense. The parent is the container for this object in the first place!

Similar Messages

  • How can I close 'current' window and not all windows?

    How can I close the current window (only) and not all or none?
    This function works well with MS Explorer.
    Not a problem, just a desired function.

    Hi JLCluster,
    If you just click the small x in the tab you are currently viewing, it will close only that tab. I think you are clicking the x in upper right hand corner of the screen which closes all open tabs as you described.
    Hopefully this helps!

  • 2 websites are open simultaneously. How can I close one of the websites to have more space for the otheer websites

    Each time I use Firefox to open a news website A, another news website B appear on the left of A. How can I close A in order to have the full screen for B.

    Do a malware check with some malware scan programs. You need to scan with all programs because each program detects different malware. Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and Searches are redirected to another site

  • How can I close out the page I am working on in safari when error boxes keep popping up?

    How can I close out the page I am working on in safari when error boxes keep popping up?

    What do the error messages say ?

  • On I-Mac, how can I close all tabs at the same time?

    On I-Mac, how can I close all tabs at the same time?
    I use Mozilla Firefox for internet.

    Not an Apple product, have you visited:
    https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-qu ickly

  • How can you close all pages in safari?

    On my iPad it is possible to close all windows in Safari.
    Is there a similar feature in Safari? Every time I clear the history, the last page remains open.
    How can I close that window as well without having to first create a new blank one?
    Regards

    Yes, ok, but then I still have to open a new page to continue browsing.
    on the iPad i can close all pages and safari for iOS defaults to favorites.
    regards

  • What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    You should be able to select Force Quit from the menu beneath the Apple icon in Finder
    and choose to Quit iPhoto from there, without messing up the Mac OS X in the process.
    OS X - Support
    Not sure if rebuilding the iPhoto library would help this issue. However if you had to
    turn off the computer without the correct method (unplug, etc; instead of menu choice)
    the system may have accrued damages and should be checked, maybe repaired by
    use of the Disk Utility in the system. Or restart the computer in Safe Boot mode, then
    run 'repair disk permissions' while it is running in that reduced mode; then restart after.
    •Understanding Safe Mode - tuts+ computer skills tutorial:
    http://computers.tutsplus.com/tutorials/understanding-safe-mode--mac-59897
    •OS X: What is Safe Boot, Safe Mode?
    Suggestions on how to use Safe Mode in article, to resolve issues, may be helpful.
    There likely are other means to rectify troublesome applications, including reinstall.
    Be sure to backup your music, image, video, and other work on an external drive
    or suitable device as a precaution against loss should there be a hard drive failure.
    iPhoto - Mac Apps - Apple Support
    There should be some tips and help information using iPhoto via this tiny Support link.
    Good luck & happy computing!

  • How can I close DatagramSocket?

    I have DatagramSocket in my WP 8 project. I can open it and receive data but there is no Close() method even though MSDN says it exists. How can I close the socket?
    If I go to the definition of DatagramSocket I see this text at the top of the page:
    #region Assembly Windows.winmd, v255.255.255.255
    // C:\Program Files (x86)\Windows Phone Kits\8.0\\Windows Metadata\Windows.winmd
    #endregion
    The version number seems a bit weird. Am I using wrong assembly?

    If you are programming with C#, you can call datagramSocket.Dispose(), that is the C# projection of
    Close().

  • How can I close this application?

    I entered a script that autoclicks every 0.1 seconds and I didn't turn off the mouse thing so it just keeps entering 5s. I can't do anything except move my cursor(can't click or type). How can I close this application?

    > I have an interface (main vi) wich call another interface (pop
    > up).this interface call another interface. How can I do in order to
    > close the interface which is calling without stopping my application
    >
    There is a mechanism built into subVIs and subVI calls to open when
    called and close when finished. This still works fine for many tasks
    and is quick and easy. To use this, you can use the File>>VI Properties
    on your subVI, go to Window Appearance, Customize, and it is in the left
    column near the bottom.
    You can also set this on a subVI call by right clicking, choosing SubVI
    node setup and set the same Open when called and Close on exit settings.
    The difference between them is that the first will affect every usage of
    the VI, whereas the
    second can be set to pop open sometimes and other
    times not.
    Of course there is another way, introduced when the VI server was added.
    There is a VI property for the VI class, Front Panel Window Open.
    Setting it to True and FALSE will open and close. There is also now a
    method for opening and closing with a few additional options.
    The VI Server allows for more control and flexebility, but the first two
    options are still perfectly valid for simple things. If using them,
    closing your subVI is as simple as exiting your outer loop of your
    subVI. This returns and closes the window all at once giving control
    and and data parameters back to the caller. If using the VI Server, you
    can either close the window just before returning or leave it to the
    caller. Just be sure they are in agreement.
    Greg McKaskle

  • I can't use my skype's cam because FaceTime'cam is open.how can I close FaceTime?

    I can't use my skype's cam because a FaceTime's cam is still open. how can I close it?

    Quit FaceTime.

  • How can i close a modal window?

    Hi, everybody
    My question is in the subject, but i4ll repeat it again.
    How can i close a modal window in forms?. I4ve tried with hide_window but it doesnt closed itself.
    Please help me one again.
    Thanks.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JAMIE MCPHIE ([email protected]):
    There is a bug with Oracle Forms where you can not use the close button "X" on the window title bar. You need to create a button on the window that will close the form.<HR></BLOCKQUOTE>
    Jamie
    You are right in the fact of the programmer must make a exit mechanism. However, this is not a bug, this feature is related to the management of this windows type (modal). Bye
    null

  • How can I close Aps accumulated at the bottom of my screen

    How can I close Aps accumulated at the bottom of my screen?

    Hi,
    double tap on the home button. Then slide the page above the icon upwards towards the top of your iPad.

  • How can I close a category in the form central form without closing it as error?

    How can I close a category in the form central form without closing it as error?

    I'm still not sure I follow - let me see if this is right.  You want to have users signing up for something using a FormsCentral form and then when something is full you'd like that section to show as "Closed" or full so nobody else can sign up for that particular event/day/time?  If that is the goal FormsCentral does not have any logic to close certain portions of the form.
    Thanks,
    Josh

  • How can i Close the PO by changing the Qty to 6000 from 5.443,206???????

    Hi All,
    User wants the  PO with 240bags= 6000 Kg but the value is like this  240bags x 22.68kg  = 5.443,200 Kg(this is picking from material master in Alternate units of measure 100bags =2268)
    *As of now the PO status is:
    Ordered Qty: 240bags
    Delivery : 264.550 (User changed the Qty from 240 to 264.550 bags in delivery)
    PGI Qty: 264.550
    GR: 240 bags
    IR: not completed
    The fact is that they purchased 6000kg and they were able to add into the system just 5.443,206, and They need to add the rest into the PO:  556,794 kg (we have them in the warehouse)
    How can we do this?
    In order to close this PO they want to add remaining Qty
    i have tried to change the alternate unit of measure in the material master from 100bags=2268Kg to100bags=2500kg but this is not reflecting in the PO
    if i am trying to create a new PO the new AOU(to100bags=2500Kg ) is reflecting
    Please let me know how can i Close the PO by changing the Qty to 6000 from 5.443,206???????

    Hi,
    As per your posting i under stood the question like this.
    PO has been created for 240 bags which is 5.443,200 Kg ( As per the material master calculation).But user wants 6000kg.
    Delivery has been done for 264.550 bags at 100bags =2268 kg.Means 264.550*22.68 = 5999.94 almost 6000kg.
    And since PO is for 5,443,200 KG , GR has been made against this qty.
    At this stage please remove the new conversion change for the material since every transaction has been made against the PO it will not reflect.Also if there exists any transaction in pipe line will get effct due to this.
    Just change the PO qty to 264.550 bags and receive the GR for the remaining qty which is 24.55 bags .Sytem will allow this change.Also no need of additional Delivery or PGI. since already the PGI has been for 264.55 bags.
    Other wise if you want change the conversion factor for the material , please reverse the GR done and cancel the PGI at VL09 and delete the delivery and make the PO afresh and change the qty as per the 6000kg requirement and repeat the process.
    Please reply the result.
    Regards,

  • How can i close internet explorer to download flash

    how can I close internet expllorer to download flash

    37393 are you referring to Flash Professional or Flash Player?  Also have you tried closing all open browser windows?

Maybe you are looking for