<AWT Dev> Review request for JDK-8032961: A JTextField of an applet loses the abillity to receive the focus under certain circumstances.
mikhail cherkasov
mikhail.cherkasov at oracle.com
Wed Apr 9 11:02:07 UTC 2014
Hi all,
please review the fix:
http://cr.openjdk.java.net/~mcherkas/8032961/jdk9/webrev.00/
for the following bug:
https://bugs.openjdk.java.net/browse/JDK-8032961
The problem is that when we create modal dialog we can't set the
whole browser as its parent window, due some limitation of browser API.
So that means we have to emulate modal dialog behavior.
When modal dialog is opened applet reject focus events - so the applet in
browser can not become active while modal dialog is opened.
As result we can get in situation when modal dialog is closed, but
applet is inactive
and doesn't recognize any user input.
The fix tracks closing modal dialogs and if browser active it activates
applet too.
Thanks,
Mikhail.
More information about the awt-dev
mailing list