Windows won't close; app won't exit

Hi,
After some system admin (on Solaris 2.7) my Swing GUI application won't terminate and the main window won't
close. My code in my main window is:
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
I have to do 'ps' and 'kill -9 <pid>'. The same behavior occurs w/ the Swing Java tutorial apps; e.g.,
I only added a System.out.println("Window closing event captured") in the ListDemo.java src. WHen I close the
main window, I see this string displayed but the window
doesn't close (or it starts to, goes blank) and the app
doesn't exit.
I'm fairly certain it's an environmental problem, but
am stuck as to what to investigate. If anyone has
seen this behavior and could shed some light, I'd be
appreciative...
Thanks,
Marcia

I tried doing this: In the tutorial's ListDemo.java src, I replaced the entire WindowAdapter() code block with one line:
     frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
This didn't help (w/ either JDK 1.4.0 or JDK 1.4.1, on
Solaris). The app still doesn't terminate. The xterm from which I launched the app isn't responding to control-C. I have to kill the xterm. Also, if I can't write a WindowAdapter, how can I do some other stuff
(like closing network connections, etc.) before exiting?
Thanks for the help; any further suggestions would be welcome.

Similar Messages

  • Firefox won't close/  flashplayer won't download to desktop -- getting dizzy!

    Found a solution to this problem,  I hope, July 22,09 note from "eagleberry" firefox user,  but I can not download flashplayer to desktop:
    "use firefox to download the flash player setup fromfrom here to get the NPAPI version of flash, save it to your desktop   (htt;://get.adobe.com/flashplayer/)
    then close firefox using file - Exit, then check the Task Mngr-processes tab to make sure all firefox applications/uses  are closed  (XP: Ctrl-Alt-Del,  Vista:  shift-Ctrl-ESC- processes tab)
    then run the Flash setup file from your desktop"
           does this work? help with desktop download. . .   thanks

    See if this happen in [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe-mode] , if this is not happen then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    Use "Disable all add-ons" on the Safe Mode start window to disable all extensions.
    Close and restart Firefox after each change from File > Exit
    [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes?redirectlocale=en-US&redirectslug=Troubleshooting+extensions+and+themes
    Troubleshooting extensions and themes]
    see also: [https://support.mozilla.org/en-US/kb/Firefox-hangs Firefox hangs]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • QuickTime player won't close and won't allow me to shutdown

    I Have a MacBook Pro 11,1 - 2.6 GHz i5...IOS 10.9.5...8 GB memory...1600 MHz DDR3.  My QuickTime v.10.3 won't shutdown and won't  allow me to shutdown my MacBook pro.

    Choose Force Quit from the Apple menu, select the QuickTime Player, and press the Force Quit button. If that doesn't work, save and close everything you can and use the Activity Monitor in the /Applications/Utilities/ folder to force quit the loginwindow process.
    (119280)

  • Adobe air Won't install apps; won't even install

    I tried installing the new seesmic desktop app and kept claiming the package was damaged, so I used perfect uninstaller to uninstall adobe air and tried a reinstall, it now says I need admin rights which is odd because I'm logged into an admin account.
    Log file
    Performing runtime install
    UI SWF load is complete
    UI initialized
    starting user confirmation
    Version of this installer: 1.5.2.8870
    Installation type: additionalNewest
    starting install
    Scheduling runtime installation operations
    uninstall scheduled for 1.0.4, 1.0.6, 1.0.5
    Installed Product GUID:  is same:false
    Beginning runtime installation
    Beginning install
    Installing c:\docume~1\rpvonz\locals~1\temp\aire8.tmp\setup.msi
    Error occurred; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1625" errorID=5009]
    Rolling back install of c:\docume~1\rpvonz\locals~1\temp\aire8.tmp\setup.msi
    Rollback due to error complete
    error during install: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1625" errorID=5009]
    runtime install entering error state: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1625" errorID=5009]
    begin quitting

    Try this:
    Make sure everything is closed on you computer. Before trying to reinstall turn on Hidden Files and Folders. Go to C:\Documents and Settings\USERNAME\Application Data\Adobe\ and delete the AIR folder. Then clear your Temp files from C:\Documents and Settings\USERNAME\Local Settings\Temp. Empty your trash can. Try reinstall.

  • My dad has a brand new iMac. If he quits an app, this window closes, but the app won't finish shutting down, Force quitting does not work.  Once another app is opened, it will not close either.  Now none of the apps are responding. Any ideas?

    My dad has a brand new iMac. If he quits an app, this window closes, but the app won't finish shutting down, Force quitting does not work.  Once another app is opened, it will not close either.  Now none of the apps on the dock are responding. I asked him to click on the apple, and drop down to "About this Mac", but that wouldn't open either. Any ideas?  If I was at his house, I would call Apple Care in a heartbeat, but am home with my sick daughter,,,  Thanks!

    For starters, have him open Disk Utility in Applications>Utilities, select the volume (the indented listing) and Verify Disk. If it reports any problems, have him try a Safe Boot by holding the Shift key at startup. This boot will take much longer than usual. It's checking and trying to repair the drive directory, if possible. Once in Safe Boot, have him repair Permissions.
    For other Disk repair remedies see
    http://support.apple.com/kb/TS1417
    Also, have him try a PRAM Reset. At the startup chime, hold down CMD-Option-P-R together, listen for two more chimes, total three, then let go to finish booting.
    Also, is he running any AV? If so, have him uninstall it. It might be responsible for this behavior. (There are no viruses for OS X.)

  • Mail 6.3 will not close and won't open an interactive window

    A day or so ago I tried deleting about 4 messages off mail and then shut the app.  A note came up and stated the messages could not be sent to the delete folder and then proceeded to close the window but the application remained as opened.  I tried to quit the app from the dock but it wouldn't close it.  I then tried shutting the system down and mail stopped it from closing.  I have a Mac Book Pro with Mountain Lion 10.8.3 and tried to let the battery drain to let shut down that way to no avail.  I've tried opening another window in Mail but it won't open a functional window (preview screen will not display highlighted message).  How do I force a close or bring mail back to use it properly?

    Mac OS X: How to quit an unresponsive application using Force Quit

  • I upgraded to 5.0.1 and now 2 apps won't work.  Skype and Pinterest.  When i tap them they open and immediately close.  I deleted and reinstalled both.  What do I do now?

    I upgraded to 5.0.5 on my iphone4 and now 2 apps won't work - Skype and Pinterest.  When I tap them they open and then immediately close.  I have tried turning off my phone and deleting the apps then reinstalling them.  They still don't work.  What do I try next?

    I went through your instructions  Notification was already off
                                                   Alert Sytie was set on None - switched to Alerts
                                                   Badge App icon was set on off   Turned it on
                                                   Sounds was set to off   Turned it on
                                                   View in Lock Screen was set to off  Turned it on
    Still does not work.  Thanks for trying

  • Windows 10 Apps won't launch

    It seems like none of my Win10 Apps want to launch and load up. I hit the icon for the app and it appears to start but it closes itself around 1s after launching. Xbox, Mail and others won't start. They were working fine until I changed some settings in
    the Mail and it went bad from there.
    I know there was a Command I could use in shell to manually uninstall/install each app but I can't seem to find it.
    Anyone have a solution?
    P.S Launching from the Taskbar or the Start Menu  doesn't work, and the Store (Beta) doesn't launch either.

    On Fri, 24 Apr 2015 20:41:13 +0000, david hk129 wrote:
    We know this one will be a bit painful but there is a bug with this build in which Win32 (desktop) apps wonʼt launch from the Start menu. The workaround is to use search to find and launch these apps and pin them to your taskbar for quick access.
    You should reread the OP. xHDx is asking about Modern apps, the issue you
    posted about, as is clearly stated, is referring to old style Win32 apps
    and not the Modern ones. Your post isn't helping here.
    Paul Adare - FIM CM MVP
    Apr 13 11:05:20 apollo13 fsck[3927]: root, we have a problem.
    -- Jeff Gostin
    sorry, I misread.
    another workaround for win32 program on start menu is run them as admin.

  • Google YouTube ad won't close in app store even after downloading

    Google YouTube ad won't close in app store even after downloading -- this means I can't get to the store

    i have resolved the issue.
    I had to close down the App Store, re-open it, and in the purchases tab the error disappeared and the option to resume the download was there again. However, I have spent the last 3 days opening and closing the program, restarting my computer. There is obviously a problem with this because there are other users who've had the same issue. Its frustrating because Apple has already taken my $20. I could have easily gone to a store to buy it if I could.

  • Several tabs in a window won't close.

    I've tried command-W, clicking on the X, and using the menu to close them, and two of my open tabs won't close at all.

    Try temporarily disabling JavaScript. In the Tools menu select Option, then go to the Content panel in the Options window and de-select the setting "Enable JavaScript". Close the Options window and then try to close the tab. You can then re-enable JavaScript.

  • Anyone else having background apps as a black screen tab that won't close? The time and AT

    Has anyone been having apps in the background that won't close? The tab that normally swiping up to close the app won't work and stays as a blank black screen showing the time, signal strength , and cell carrier at the top, but nothing else. I can't keep shutting my phone down all day to make this stop. Please help if you know why this happens and/or how to stop it or close the app

    Don't mix AWT and Swing widgets. Fix that, then ask again, preferably in the Swing section.

  • I accidentally pressed "Return" key and it opened around 100 finder windows. Now it won't close and when I right click on finder tab it says application not responding.

    I accidentally pressed "Return" key and it opened around 100 finder windows. Now it won't close and when I right click on finder tab it says application not responding.

    Iv'e tried that but that won't work either. Help please.

  • Windows won't close, lockups, drop down menu bar not working - IE works fine - what's going on with firefox?

    Just bad performance from firefox the past couple of weeks
    I down loaded a fresh version of firefox, but it didn't help
    see above question
    Lockups, windows won't close, drop down menus not working
    Internet Explorer works fine

    http://support.mozilla.com/kb/Basic+Troubleshooting

  • Windows won't close

    I installed Safari Beta 3 and now Windows won't close just the tabs will.
    Any body else have this problem?
    iMac G5 1.8 GHz Superdrive   Mac OS X (10.4.10)  

    Hi
    "Repair permissions" using Disk Utility in your Utilities folder. Restart Safari. If that doesn't help, uninstall/reinstall Safari using the uninstaller and install items in the Installation package. Restart Safari etc.
    Post back

  • Safari won't close windows

    I work in a music technology lab and on 3 of G4 Imacs, Safari can not close its windows. What I mean is that when you click on the red circle or use command W, the windows won't close. The Imacs are using 10.4.2 and have 512megs of ram. The windows do close when you quit the program. I have deleted the preferences but that did not solve the problem.
    Anyone have any ideas?

    Aaron,
    Try Resolving Disk, Permission, and Cache Corruption, by Dr. Smoke.
    If that is not successful, download and install the most recent version of OS X using the Mac OS X 10.4.6 Combo for PPC, and Security Update 2006-003 Mac OS X 10.4.6 Client (PPC).
    ;~)

Maybe you are looking for

  • HT204053 How to change the credit card number in a iTunes account?

    Need to change credit card number, new card, for iTunes?

  • ATI HD5770 Performance Issue

    I have a HD5770 card driving an Acer 22" monitor and my old HD2600XT powering another 17" IBM monitor. Everything works well, I think. I do alot of FCP and Logic stuff and play World of Warcraft, but I im not really seeing any performance increase fr

  • Is All I Need Quicktime Pro?

    Hello, if i pay $29.99 and get Quicktime Pro will that allow me to convert videos into MPEG4? Also will it put the video in the right size to copy into i tunes and into my ipod? Do i need videora if i get Quicktime Pro or is Quicktime Pro all i need?

  • A Few Little Time Machine Questions

    I just got a 1TB External Drive from Western Digital (My Book Studio Edition.) I just used Time Machine on my Mac Book Pro and now all my files are backed up. But I have a few questions: 1. Does this mean that I don't have to manually drop and drag f

  • Reinstalling clean copy of 10.9.1 issue

    Hello all, I am facing an issue with reinstalling a clean copy of osx 10.9.1 on ssd.. The system installed successfully. . But when it ask me to create the user and password.. it takes forever.. it is never move to the next step.. just loading or pro