one thing that comes to mind is that you could use javascript to detect if the mouse is outside the applet, that way you can alert the applet using using liveconnect.
It still sounds like something that lwjgl may be able to handle - but is it a windows only issue ?