This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a html page which has an embedded applet and few other html components. I came across the following scenario.
1. Drag the mouse from inside the applet to the embedding html 2. Release the mouse on the html page 3. I have handled the mouseup event on the html body element. But when i released the mouse on the html page to end the drag that i started from the applet, the mouseup event is not fired. 4. Even after i dragged the mouse outside the applet mousedragged event is fired on the applet and when i release the mouse outside the applet the mousereleased event is fired on the applet.
I don't understand why is this happening, why is the html not notified of the mouseup event when i start a drag from the applet and drop it on the html page. Instead the events are fired on the applet.