United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4371580 JMenu should be updated to work with new focus architecture
JDK-4371580 : JMenu should be updated to work with new focus architecture

Details
Type:
Bug
Submit Date:
2000-09-15
Status:
Resolved
Updated Date:
2001-01-17
Project Name:
JDK
Resolved Date:
2001-01-17
Component:
client-libs
OS:
windows_nt,generic,windows_95
Sub-Component:
javax.swing
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.2.0,1.2.1,1.3.0,1.4.0
Fixed Versions:
1.4.0 (beta)

Related Reports
Duplicate:
Duplicate:

Sub Tasks

Description
Now that the new focus architecture has been putback, the Swing team should 
reevaluate the JMenu/JMenuBar/JMenuItem code to see if portions of it can be 
implemented more effectively.

In particular, we would like to see the dependency on isManagingFocus removed.
JMenus should also generate temporary FOCUS_GAINED and FOCUS_LOST events when 
opened instead of the permanent events they currently generate.

                                    

Comments
EVALUATION

Mark, since you've been working on this I'm reassigning it to you.
scott.violet@eng 2000-11-27

JPopupMenu will now invoke requestFocus(true) so that the temporary property of the FocusEvent is correctly set.
As part of this, JComponent now exposes requestFocus(boolean) and requestFocusInWindow(boolean) as public.
scott.violet@eng 2000-12-20

Additionaly JMenuBar invokes setFocusTraversalKeysEnabled(false) in its constructur.
scott.violet@eng 2001-03-05
                                     
2000-12-20
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
merlin-beta

FIXED IN:
merlin-beta

INTEGRATED IN:
merlin-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together