Complete Exit out of JFrame popup

Hi,
I can't seem to figure out how to completely exit out of a JFrame that was popped up from the main JFrame application. I have a popup JFrame with the OK and CANCEL buttons. I would put this in a JOptionPane but the items on this popup are more extensive than what a JOptionPane would allow. Anyway, the cancel button should close and exit out of this JFrame popup. However, I'm not sure on how to do this. My first guess was to use System.exit.... but obviously this exits the entire application. The only other way I know of is setting the JFrame's visibility to true or false, i.e. JFrame.setVisible(true/false). This does what I want but does not completely "exit" out of the JFRame popup. Does anyone have any suggestions? Thanks in advance!
-los

I would put this in a JOptionPane but the items on this popup are more extensive than what a JOptionPane would allow.Then use a JDialog.

Similar Messages

  • Exit out of video and return to stage frame 1

    Ive manged to create a flash player that incorporates a video
    using a online
    tutorial with the code below.
    All is working well but at the end of the video I want to
    exit out of the
    video and return to the stage at frame 1. The reason being
    is; before a user
    hits play an interface image (containing info) is displayed.
    When they hit
    the play button the video appears and plays over the
    interface image.
    problem is at the end of the video the layer containing the
    image is still
    covered by the video. when the video finishes I need a line
    of code to exit
    and return the player to the original state without the
    presecence of the
    video layer.
    any ideas? thanks in advance
    Brett
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    theVideo.attachVideo(ns);
    rewindButton.onRelease = function() {
    ns.seek(0);
    ns.play();
    playButton.onRelease = function() {
    ns.play("modular.flv");
    pauseButton.onRelease = function() {
    ns.pause();
    var videoInterval = setInterval(videoStatus,100);
    var amountLoaded:Number;
    var duration:Number;
    ns["onMetaData"] = function (obj) {
    duration = obj.duration;
    function videoStatus() {
    amountLoaded = ns.bytesLoaded / ns.bytesTotal;
    loader.loadbar._width = amountLoaded * 200;
    loader.scrub._x = ns.time / duration * 200;
    var scrubInterval;
    loader.scrub.onPress = function(){
    clearInterval(videoInterval);
    scrubInterval = setInterval(scrubit, 10);
    this.startDrag(false,1,this._y,198,this._y);
    loader.scrub.onRelease = loader.scrub.onReleaseOutside =
    function () {
    clearInterval(scrubInterval);
    videoInterval = setInterval(videoStatus,100);
    this.stopDrag();
    function scrubit() {
    ns.seek(Math.floor((loader.scrub._x/200)*duration));

    Inside the videoStatus() function Check the Current Time and
    Total time for video completion. Some time the Video doesn't have
    exact Time when comparing to the Total duration so use Math.floor
    to compare. if you still facing problem also check the Buffer
    status and Video status too.

  • I have 2 games Words with Friends and Cityville that receives a Pop-up message form iTunes...  "Connect to iTunes to use Push Notifications" and will not allow me to exit out of the app or play.  How can I get this message to STOP?

    I have 2 games Words with Friends and Cityville that receives a Pop-up message form iTunes...  "Connect to iTunes to use Push Notifications" and will not allow me to exit out of the app or play.  How can I get this message to STOP?

    Yes - I connected my phone to my computer / Itunes and went into the apps section, but from there I have no idea how to manage the push notifications.  I even tryied going into itunes that is installed on my phone.  I still cannot find anyplace to manage these popups.  I have also gone into settings - notifiations - and tried turning all notifications for these apps all off but that didnt work either.  Any guidance is MUCH appreciated - Im not sure where to go from here.

  • Exiting out of X causes sync issues.

    Hi all,
    I've just installed Arch onto my laptop and after a couple of hours I realised I couldn't get X to run because xf86-input-mouse and xf86-input-keyboard weren't installed when I installed the xorg suite, I found that odd...
    Anyways, X runs fine but when I exit back to the command line the screen is flickering, probably due to hsync and vsync issues; and I have to reboot to fix it. I have a Dell XPS M1210 and I'm running the nvidia driver.

    hurbie8, 
    I certainly understand why those issues would be annoying. I searched our resources and I have not heard of either of these issues as known issues after the update. It sounds like you are having an issue with the back arrow itself. To take a screenshot, you would press and hold the back arrow, then press the power button. So the phone thinks you are pressing the back arrow, and that's what causes the phone to take a screenshot. When your phone exits out of applications, do you get an error or does it just go back to the main screen? Do you have any installed task killers that are set to auto kill apps? If so, I would suggest removing.
    I would recommend doing a factory reset for this issue. A factory reset will erase all data on your device and set it to factory default settings. It will not erase anything on your memory card. You will need your Gmail address and password to setup your device again. I would also suggest creating a backup of your contacts just in case they are not all in Gmail or backup assistant. You can save them to your memory card by going to Contacts>Press the Menu button>Import/Export>Export to SD card. You complete the master reset by going to Settings>Privacy>Factory Data Reset>Reset Phone. 
    Please let us know if this resolves your issue or if you need further assistance. 

  • When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of it.

    When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of this message. When I login to my husband's account, this message does not appear.

    Hey sunnyday7!
    Here is an article that can help you address this issue:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    Additional Information
    OS X automatically relaunches the Finder when it is quit. If the Finder is unresponsive, use Force Quit to relaunch it. Select Finder in the Force Quit Window or Dock, then click Relaunch.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • My first gen. iPad exits out of apps and safari at random times when I am trying to use them. So I basically can't do anything on it. Is there some way I can fix this?

    Crashing apps. What do I do to fix it?
    My first gen. iPad exits out of apps and safari at random times when I am trying to use them. So I basically can't do anything on it. Is there some way I can fix this?

    I have the same problem.  Yahoo Sportacular aborts every time I try to open it.  It attempts to load and then the device goes right back to the home screen.  The problem started April 26 after I switched leagues from NHL to NBA. Closing all apps and Restarting doesn't solve solve the problem.
    All other apps on the iPad work fine.  IPad2, OS6.
    Any other suggestions?  I suppose I could delete the app from the iPad and try re-installing it

  • I just tried to update my iPhone4 to iOS7 and after downloading, I got an error "4005" message; Now my iPhone is completely wiped out and I can't even get my pc to read it (just has a picture of the USB and the iTunes icon). HELP!!

    I tried updating my Iphone4 from iOS 6.1.4 to 7 via iTunes. After downloading, I got an error 4005 message during installation and now my phone is completely wiped out; is not being recognized by my PC; and all I get on the phone is a photo of a USB plug and the iTunes symbol! Can anyone, PLEASE, help?!?

    The phones in recovery mode so if yu connect it to itunes it should ask to restore it back to the last back up you have done.
    that should solve it for you...

  • TS3274 My ipad has been lagging, it will exit out of apps and on safari will bring up pages that I searched awhile ago before bring up the current page. what could be the problem?

    My ipad mini has recently been exiting out of apps on its own. It has also been bring up old searches when I log into safari things I've searched months ago.  I have the latest update. I can't figure out why it's been doing this.

    Clear Safari, close all apps, and reboot your iPad.
    Go to Settings>Safari>Clear Cookies and Data.
    In order to close all of your apps, double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it. Close all apps this way.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Firefox won't close down all the way after watching a video. I exit out, and the sound continues. When I try to re-open firefox, I get a message about how I have to restart my computer. How do I fix this?

    Basically whenever I watch a video and I exit out of the video I have to restart my computer to get Firefox back open. If I exit out or go to a new page while the video is playing, the audio continues like nothing has happened. I've checked my task manager and it shows that Firefox is closed. When I try to re-open Firefox I get an error message that tells me Firefox is running but is unresponsive and I have to restart my computer. How do I get it to stop doing this?

    Try holding control, alt and delete down in succession and then a dialogue box will appear with windows task manager. Once open click on the Processes Tab and look for firefox.exe. Highlight this and then click end process. It should come up with a warning but just click Yes. This should then close firefox and allow you to reopen it from your desktop without shutting down your computer. Hope this helps.

  • How do I get the Measurement scale to stay set in Adobe Acrobat IX Pro. It's easy to set the scale , but when you exit out of the commend

    How do I get the Measurement scale to stay set in Adobe Acrobat IX Pro. It's easy to set the scale , but when you exit out of the commend the scale is reset to 1 = 1.

    Thank you for checking, Tom,
    I'm confused. What do YOU get when you push the feed button? And why is it working on yours and not either of my machines?
    Today, my Mac (w/Safari 4) gets the same error message: Safari can’t open the page Safari can’t open the page “feed:http://vibrationalvoyages/vibrationalvoyages.com/DivineLight_Vibrations_Principles_andApplications/rss.xml”. The error is: “The feed could not be loaded because the content is not in a known feed format.”
    My little ASUS (with a Linux operating system) gets a screen that says "The requested URL was not found". The URL on that page is http://vibrationalvoyages./vibrationalvoyages.com/DivineLight_Vibrations_Principles_andApplications/rss.xml
    On both error messages, the URL I was checking was:
    http://www.vibrationalvoyages.com/DivineLight_Vibrations_Principles_and_Applications/Divine_Light_Vibrations_Principles_ andApplications.html
    The last URL was, of course, the URL generated by iWeb.
    So, my question still is:
    HOW CAN I GET MY FEEDS TO WORK PROPERLY? If the problem is there shouldn't be an http:// after feed: then, how do I get iWeb to set it up properly?
    Any ideas?
    GG

  • My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premier

    My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premiere Pro CC.  I am on a PC withe Windows 8.1 and apps are up to date.  Thanks much for any help!!

    Hi Bryan,
    My video i have successfully worked on for seven days now won't open at all.  It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load.  But the only option from the error screen is exit out of Premiere Pro CC.  I am on a PC withe Windows 8.1 and apps are up to date.  Thanks much for any help!!
    Sounds like an activation issue. Quite Premiere Pro. Sign out of Creative Cloud. Restart Premiere Pro. Sign back in: http://bit.ly/CC-sign-out
    Hope that works for you.
    Kevin

  • The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using. Now, no reactions. What should I do?

    The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using (ex. ITunes or Safari to main screen) . Now, no reactions. When I press the button, it appears to be more indented then it was before. What should I do? Do I need to get it fixed or replaced, or is this a problem I can fix on my own? Whatever it is, I really need some advice. Thanks in advance.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Ethernet connectability completely frozen-out by frozen SES-mode; WTR54GS

    On a reset i accidentilly hit the SES button, now on my ethernet connection, the "Secure Easy Setup" button is frozen white. i've browsed th web, found other people have encountered same problem.
    i've spent probably 100 hours, trying many fixes, including your company's suggestions -- to no avail! (note: multiple reset attempts still won't fix this).
    my PC and ethernet card work fine on other products, it's just that wtr54gs has now frozen me out by your proprietary SES-mode. i've tried, via the wireless set-up, assigning fixed ip ( e.g. : 192.168.16.100) to my ethernet + your suggsted 192.168.16.50 to re-flash firmware -- nothing works! can't even get a dhcp ip from wtr54gs,because the frozen SES-mode has my ethernet connectability completely frozen-out.
    re-flash firmware won't go on wirelessly either, a "failure" message appears like "not suficient system resources" -- **bleep**! -- on my Windows task manager networking screen i see i'm sending megabits of
    firmware data, but the wtr54gs only picks up about 10% of the sent amount -- seems the wtr54gs can't handle the speed my wireless adapter is sending it ( also connection is strong, i'm 4 feet away from it ). i don't know how to force data rate to go slower ( on ethernet card i've reduced rate + to half-duplex, but, of course that a no go, since the wtr completely has my ethernet connection frozen-out in the first place, my original concern!).
    i bought a D-link DWL-G730AP travel router, hoping theirs would be better, but it's very shoddy, very poor reception and difficult interface. i'm returning that. i long for the days when my Linksys product used
    to work -- Please Help Me Fix It !!!
    i used to use wtr54gs as a client-mode, connected to my PC via the ethernet connection, and the wtr54gs incoming internet connection was set to "wireless" -- all woked great, until this freezing-out problem.
    if the SES-mode is internally permanently freezing me out on ethernet connectability, it appears i'm going to have to get a replacement ( as, other people on the web, similarly-situated, have stated).
    my original purchase was about $60, but i see Amazon is recently selling the wtr54gs for $180!! -- i'm NOT buying a replacement at that cost!! please, either help me fix my frozen wtr54gs, or, since i'm
    covered by warranty, tell me the procedure to get a replacement / exchange.
    [Oh Thanks to Linksys for sending this to me!]: Thank you for your inquiry! As we strive to provide our customers with the best support experience, we are discontinuing the email support channel for Technical Support Inquiries.
    Linksys listened, and created a wide variety of tailored support options designed to get you what you need, when you need it, in a way that works for you!

    On a reset i accidentilly hit the SES button, now on my ethernet connection, the "Secure Easy Setup" button is frozen white. i've browsed th web, found other people have encountered same problem.
    i've spent probably 100 hours, trying many fixes, including your company's suggestions -- to no avail! (note: multiple reset attempts still won't fix this).
    my PC and ethernet card work fine on other products, it's just that wtr54gs has now frozen me out by your proprietary SES-mode. i've tried, via the wireless set-up, assigning fixed ip ( e.g. : 192.168.16.100) to my ethernet + your suggsted 192.168.16.50 to re-flash firmware -- nothing works! can't even get a dhcp ip from wtr54gs,because the frozen SES-mode has my ethernet connectability completely frozen-out.
    re-flash firmware won't go on wirelessly either, a "failure" message appears like "not suficient system resources" -- **bleep**! -- on my Windows task manager networking screen i see i'm sending megabits of
    firmware data, but the wtr54gs only picks up about 10% of the sent amount -- seems the wtr54gs can't handle the speed my wireless adapter is sending it ( also connection is strong, i'm 4 feet away from it ). i don't know how to force data rate to go slower ( on ethernet card i've reduced rate + to half-duplex, but, of course that a no go, since the wtr completely has my ethernet connection frozen-out in the first place, my original concern!).
    i bought a D-link DWL-G730AP travel router, hoping theirs would be better, but it's very shoddy, very poor reception and difficult interface. i'm returning that. i long for the days when my Linksys product used
    to work -- Please Help Me Fix It !!!
    i used to use wtr54gs as a client-mode, connected to my PC via the ethernet connection, and the wtr54gs incoming internet connection was set to "wireless" -- all woked great, until this freezing-out problem.
    if the SES-mode is internally permanently freezing me out on ethernet connectability, it appears i'm going to have to get a replacement ( as, other people on the web, similarly-situated, have stated).
    my original purchase was about $60, but i see Amazon is recently selling the wtr54gs for $180!! -- i'm NOT buying a replacement at that cost!! please, either help me fix my frozen wtr54gs, or, since i'm
    covered by warranty, tell me the procedure to get a replacement / exchange.
    [Oh Thanks to Linksys for sending this to me!]: Thank you for your inquiry! As we strive to provide our customers with the best support experience, we are discontinuing the email support channel for Technical Support Inquiries.
    Linksys listened, and created a wide variety of tailored support options designed to get you what you need, when you need it, in a way that works for you!

  • I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup

    I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup in itunes or on my computer

    Did you fail to import them to your computer before restoring?
    Not good.
    They are likely gone.
    You can try restoring from backup.

  • I recently got my iPhone 5 unlocked and the other day I updated my phone to ios 7. After doing so my phone shut off and turned on and it said I had no service. I guess it completely wiped out my unlock. I was wondering if anyone knows what I can do!

    I recently got my iPhone 5 unlocked and the other day I updated my phone to ios 7. After doing so my phone shut off and turned on and it said I had no service. I guess it completely wiped out my unlock. I was wondering if anyone knows what I can do to fix it!!

    How, EXACTLY, did you get it "unlocked"? ONLY the carrier it's locked to can authorize unlocking it. Anything else is a hack.
    You can not get help here for a hacked phone.

Maybe you are looking for

  • I accidentally purchased sd instead of hd

    Hi- I normally purchase hd movies and tv shows however my internet situation isn't the greatest right now so I have to watch sd on my apple tv.  I forgot the switch the setting to hd before my most recent purchase, even though they are the same price

  • CS6 Epub Output and XHTML File Names

    Is there any way to customize or otherwise assign specific names to the XHTML files InDesign CS6 assigns to the various sections it creates when it splits files for an epub? I mean, if my InDesign file is named ""InDesign_File Name.indd", the autospl

  • Is there a plug-in for Photoshop CS3 for multi photos...

    I hope I can explain this clearly enough. Have you ever seen those pictures, let's say...of a building, where, when you get up real close, you can see it's made up of a whole bunch of smaller pictures that make up the whole image? I'm wondering how t

  • FCP won't export clip as...

    QT movie or QT conversion (Broadband High)  which is what I want to do. I need to post a simple clip on our website and I have exported 100"s of times in the past using the QT conversion using Broadband high but now its not creating  the full file. I

  • I want to know what happend to my money that i added to my apple account ?

    i want to know why the money in my account is gone?