<AWT Dev> [9] Review request for 8044614: [macosx] Focus issue with 2 applets in firefox

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Jul 2 12:36:05 UTC 2014


  Let's assume one browser has 3 applets where the second applet has focus.
  I click on the second browser with an applet (the applet receives the 
focus) and then click on the first browser back.
  Should the second applet in the first browser receive the focus?

  Thanks,
  Alexandr.

On 7/2/2014 2:45 PM, dmitry markov wrote:
> Hello,
>
> Could you review the fix for jdk9, please?
>
>     bug: https://bugs.openjdk.java.net/browse/JDK-8044614
>     webrev: http://cr.openjdk.java.net/~dmarkov/8044614/jdk9/webrev.00/
>
> Problem description: on Mac OSX when switching between several applets 
> running in separate browser's windows, the applet in active window 
> does not receive focus.
> Fix: the method CEmbeddedFrame.handleWindowFocusEvent() should be 
> modified. It has to detect the switching between browser's windows and 
> update focusedWindow field accordingly.
>
> Thanks,
> Dmitry



More information about the awt-dev mailing list