I'm running a client/server application where clients connect to a server by running an
applet on a Web browser. When the client presses the close button on the frame I can detect that this using a window listener and send a message to the server informing the server to close the socket connection. However when the user exits the Web browser itself, I don't know how to detect this and the server is not aware that the client has logged off even though it has.
Does anyone know how I can detect events which occur outside the frame (the close button on the Web browser)?