File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes window closing event in mac os x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "window closing event in mac os x" Watch "window closing event in mac os x" New topic

window closing event in mac os x

jeff culler

Joined: Dec 10, 2002
Posts: 10
A java app I wrote is being used on a Mac OS X.
The OS has a drop down menu at the top of the screen
that allows users to quit the app. This is not part of my
When the user closes the app by this way and not by clicking
on the "X" icon that is part of the app window, the window closing
event that has been added to the frame is not fired.
Is this a bug is there another window event I need to be using.

marc weber

Joined: Aug 31, 2004
Posts: 11343

I don't think it's a bug, but I don't know the preferred way to deal with it. You might have better luck posting on the Mac OS board.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: window closing event in mac os x
It's not a secret anymore!