Quickie - Stopping JFrames from minimizing when you close a dialog?

Hi,
As the subject bar suggests, there is probably a very quick solution to this:
When I close dialogs that I have open, the parent JFrame minimizes to the taskbar. Its a bit annoying having to click on the taskbar to maximize it again. Is there a way of stopping this from happening? Thanks.

Actually, you're right. After a little investigation, it was the way I was using the gui that was making this happen. During debuging (using Netbeans) I would open the dialog window then click on netbeans to check the console for a couple System.out.println()'s I put in the code. Then on closing the Dialog window Netbeans would be the next window selected by the OS and would appear over the original JFrame. D'oh! Just sillyness on my part imagining problems for myself.
I guess what I was looking for was that when I close the dialog window that the OS would focus to the parent JFrame instead of the previously viewed application.
Thanks!

Similar Messages

  • Confirmation from Safari when you close a window on Mavericks

    Hi all,
    I was wondering if it was possible to have like a little warning from Safari when we quit a window on this application. For example: Are you sure you want to quit this window?". Firefox has this application when you close a window with several tabs.
    I looked in the preferences, but i haven't found it. I know this kind of warning was present on the elder versions of Safari, so why not now?
    Hope you can help,
    Tim
    I have a MacBook Pro, OS X Mavericks (10.9.2) and the Safari 7.0.2

    Actually, you're right. After a little investigation, it was the way I was using the gui that was making this happen. During debuging (using Netbeans) I would open the dialog window then click on netbeans to check the console for a couple System.out.println()'s I put in the code. Then on closing the Dialog window Netbeans would be the next window selected by the OS and would appear over the original JFrame. D'oh! Just sillyness on my part imagining problems for myself.
    I guess what I was looking for was that when I close the dialog window that the OS would focus to the parent JFrame instead of the previously viewed application.
    Thanks!

  • Reader X has stopped working error message, when you close program

    I have a user that gets the error message that reader has stopped working, whenever she closes reader.  Uninstall and re-install has not helped

    Looks like itunes was still trying to communicate with my iphone and got confused when it couldnt find it.    Found this in another post and it worked great.
    Solution:
    Make sure you are not connected to the internet and then open itunes. Sync your phone and then enable the internet again. Then stay connected to the internet and close your itunes and reopen it. Bam problem solved.
    By WaKaDo

  • How do you stop random screenshots from appearing when you open an app

    These screenshots really bug me, especially when it comes to safari.  I use safari daily and sometimes I stumble upon rather frightning images.  Because.the screenshot that appears when you open an app is always a random snapshot of when you used the app in the past (I sometimes see screenshots that are over a year old), my biggest fear is that a scary picture I looked at in the past may appear when I open safari in the future.  Jumpscare.
    aside from that, this could also be a security violation, as a picture of your login information foryour bank may aappear at any time.  This is especially dangerous if your iPhone is in the hands of another person.

    When you open an app or when you close an app using the App Switcher (double-tap the Home button)?
    If you are talking about the App Switcher, there's no way to disable the displayed screenshot. If you don't want to see the "scary image", browse to another website. I have Google set as one of my favorites...when I shut down Safari, I just hit the Google favorite so the next time I open Safari, it opens to Google. I've never heard of nor experienced random screenshots popping up when opening Safari.

  • I copied this from your 5.0 download information: "All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again." When I opened my computer today all my apptabs from yesterday had disappeared. Why?

    Your download page for 5.0 stated: All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again.
    I liked the convenience of using App Tabs and was disappointed to find that the ones I had set up yesterday were gone today. Am I doing something wrong?

    Works fine for me, I can simulate your problem by improperly closing Firefox.
    The correct way would be to close the windows you don't want and then to exit Firefox through the File ("'''Alt+F'''") menu then use '''Exit''' or '''Qui'''t depending on your system.
    But '''I can simulate your problem''' by closing the good window with "X" in the upper right-corner first (the one with the app-tabs) and then close the other window by any means.
    You restart Firefox and open a window, since you closed without app-tabs there are none so you just see a window with your home page.
    Firefox has some things added to Firefox 4 and therefore in Firefox 5.
    # "'''Alt+S'''" (Hi'''s'''tory menu)
    # "'''Restore Previous Session'''" (that's the window without the app-tabs, but you have to this first)
    # "'''Restore Recently Closed Windows'''" -- can choose which window to reopen based on name and the mouse-over tells how many tabs. or you just use "'''Restore All Windows'''" without the guessing.
    ''I know you are on a Mac, and this affects Windows user more than anybody else, but it does affect other systems besides Windows, occasionally, perhaps more often now with the plugins container.''
    The following may not completely eliminate having to terminate Firefox through the Windows Control Panel but it will come very close.
    '''Plug-in and tasks started by Firefox may continue after attempting
    to close Firefox''' The "X" in the upper right-hand corner closes the
    Window (same as Ctrl+Shift+W) but even if it is the last Firefox window,
    it does not necessarily close Firefox .
    The only '''proper way to exit Firefox''' is to use '''Exit''' through the
    File menu, not the "X" in the upper right corner of last Firefox window.
    In the Firefox 4 and 5 that would be Alt+F then X
    * '''Firefox hangs''' | Troubleshooting | Firefox Support <br>http://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit
    Use the '''Windows Task Manger''' to remove all running firefox.exe in the "'''Processes'''" tab of the Windows Task Manager, then restart Firefox.
    If Firefox will still not start, remove the parent.lock file from the profile which is created each time Firefox is started to prevent other Firefox tasks from running, see<br>
    http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file
    '''Avoiding Problems with close/restart''' ''choose either extension''
    :Use to close and restart Firefox after enabling or disabling an extension, switching to a new theme, or modifying configuration files, then you don't have to worry about delay or have to look in the Task Manager to see if Firefox is closed yet.
    Both extensions use the same keyboard shortcut "'''Ctrl+Alt+R'''" or a file menu option.
    *"'''Restartless Restart'''" extension for Firefox 4.0+ only (2 KB download ) <br>https://addons.mozilla.org/firefox/addon/249342/
    *For older versions use "'''QuickRestart'''" extension (34 KB download) (<br>https://addons.mozilla.org/firefox/addon/3559/

  • How do I stop photoshop from starting when I open a jpeg file?

    How do I stop photoshop from starting when I open a jpeg file?

    In windows, right click on the file, select the program that you wish to use to open the file, and be sure to check to always open this type of file with the seleted program.

  • How do I stop iPhoto from opening when i plug in my iPhone?

    How do I stop Iphoto from opening when I plug in my Iphone?

    Having the preference in iPhoto makes perfect sense to me.  After all, iPhoto is the application that opens.  You would expect that is where you should provide some guidance not to open.
    What puzzles me much more is why you would post this comment more than 18 months after wjosten answered the original question.

  • How to stop iphone from autoplay when plug into car audio system usb?

    how to stop iphone from autoplaying when connected to your car audio USB ?

    You need to remove the association that Windows has with that particular file type. To do that, you need to open Windows Explorer. From there, click on Tools, then Folder options. Click on the tab that is named file types. You then need to find the extension for the photos that appear in the iPhone, then click that registered file type. Once you do that, there is a section to select the program to open that file type with. You can click on the change button, and that will allow you to change the program that it opens with, or restore the default. There is also a box that can be checked to always use the selected program. If you unselect it, it will prompt you next time on what program to use.
    Hope this helps.

  • How do I stop mail from opening when I launch safari?

    Can someone please let me know if there is a way to stop mail from opening when I launch safari.
    Thanks

    You are really confused. There are several things I'd recommend, first is becoming more familiar with your computer by visiting (and bookmarking)
    Mac 101
    Find Out How Video tutorials
    Switch 101
    Next, you have 90 days of free AppleCare telephone support when you buy any new Mac. You will find the phone number in your manual or you can also click the AppleCare Contact Info if you cannot find it. However I would STRONGLY recommend carefully reading your manual. The AppleCare people will be able to help you sort out what you have done. You can also visit and Apple Store and speak to a Genius for free, just make an appointment.

  • How can I stop Muse from quitting when closing a document?

    A lot of utilities automatically Quit when you close a document window.
    I'm making a number of HTML slides with Muse, and continually creating a new Muse document (or site). Every time I close a site, I have to relaunch to open my template. I could keep a site open in the backround, but that populats the tabs in plan view, and could cause accidents.
    Is there a way to stop the application quitting?

    Of course you are right, Zak.
    But, on a Mac, clicking the red button top left in the window, normally closes the window and not the app. Closing the app instead of the window by clicking this button only happens with rather small software-tools.
    I know, Muse is a one-window-application. Therefore it is a certain logic behind the behavior. But, let me bet, every muse-user on a Mac very often closes the application by mistake.

  • TS4002 stop email from deletion when deleted on another device

    how to stop email from deletion when deleted on another device.

    With IMAP - the email protocol the iCloud uses - the messages live on the server and are read from there by your devices. Think of it as being like webmail and it makes sense. Therefore when your wife deletes a message she is actually deleting it from the server, which is why you see it as deleted. You can't alter this; it's inherent in the system.
    The only workaround is to sort out a method whereby emails don't get deleted until both of you have seen them - for example she could move them to another folder and you could then read them there and delete them (so their presence in that folder always means that the other person has seen them).

  • Is there a way to separate raw files from jpegs that are in one folder after downloading from camera when you shoot both together. I tried arrange or sort  by kind but that does not work. It arranges all folders but not the files in the folder., Is there

    Is there a way to separate raw files from jpegs that are in one folder after downloading from camera when you shoot both together. I tried arrange or sort  by kind but that does not work. It arranges all folders but not the files in the folder., Is there a way to separate raw files from jpegs that are in one folder after downloading from camera when you shoot both together. I tried arrange or sort  by kind but that does not work. It arranges all folders but not the files in the folder.

    Bridge will do the job. View > Sort > ByType. Then you can choose a group of one type and put the files in a separate folder.

  • When I open iWeb it does not "Highlight" the New site or new page options. It ahs had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    When I open iWeb it does not "Highlight" the New site or new page options. It has had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    Open iPhoto, select a couple of photos and use the Share ➙ iWeb ➙ Photo page menu option.  That has jump started iWeb for others.  I could take a couple of tries.
    If that doesn't work try the following:
    1 - delete the iWeb preference file, com.apple.iiWeb.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iWeb folder. 
    Click to view full size
    3 - launch iWeb and try again.
    OT

  • I have an Iphone 4S, when I am on the phone and I get a new message my phone vibrates and rings. How can I stop this from happening when I am on the phone

    I have an Iphone $S, when I am on the phone and I get a new message my phone vibrates and rings, How can I stop this from happneing when I am on the phone

    Flip the Ring/Silent switch. Make sure Vibrate when silent is off in Settings>Sound.

  • App Tabs do not load on restart. "All of the App Tabs you have set when you close Firefox will open as App Tabs when you start Firefox again."

    Use FF3 and taking a look at FF4. I set up some App Tabs. Close FF4. Open FF4. No App Tabs.
    Any Help?

    Are you clearing your recent history when you close Firefox?
    Firefox stores App Tabs and tab group details in the same file that stores details of browsing sessions. Make sure that you have not set Firefox to delete browsing history. For details of the setting to check see https://support.mozilla.com/kb/Clear+Recent+History

Maybe you are looking for

  • Problem with file adapter polling on Unix

    Hi everybody, I'm trying to run my BPEL process with receive activity of File adapter partner link. Everything is working OK on Windows file system - folder polling is set correctly and when the new file appears and is at least 2 minutes old, the pro

  • Material is subject to inventory management in care unit storage facility

    Dear All, when using Transaction NMM5 for material requisition the system displays the message "Material is subject to inventory management in care unit storage facility" what steps are required to overcome this error. I have already assigned storage

  • Cannot sync unknown error (-69)

    i was updating the latest update on my iphone through itunes but i got my leg caught on the cable and it unplugged. i then had to restore factory settings. but since then it will not let me sync my iphone to itunes, i really need this for some of my

  • Hosed (again) by Firefox 8

    When I got upgraded to Firefox 8 all my tabs were gone. When I go to the options I can no longer set "Show my windows and tabs from last time" because it is grayed out. I then installed Firefox 7.01 and still have the same problem. Can someone please

  • My iWeb Domain File CANNOT be found!?!?!

    I am running iWeb 3.0.1 and have a website up and running via FTP. I cannot find the domain file anywhere on my computer??? I have checked Library/App Support/iWeb and it is empty. The site works and publishes fine but we need to move the file for sh