Name: dk106046 Date: 07/03/2002
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)
and:
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b13)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b13, mixed mode)
------------
Testcase is the one from Sun bug 4155181 (after modifying the 1.1.x
import statements for Swing and Accessibility classes).
Run the testcase and select the menus. Prior to 1.4.0, focusGained
events are fired for the menus, but with 1.4.0 onwards they are not.
This is because focus now goes to the JRootPane instead of the JMenu.
But no mention of such an incompatibility was found at:
http://java.sun.com/j2se/1.4/docs/api/java/awt/doc-files/FocusSpec.html
So if this is not fixed it should at least be a documented change. It
causes problems for various applications, particularly assistive
technologies which track the focus change.
======================================================================