United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7156191 [macosx] Can't type into applet demos in Pivot
7156191 : [macosx] Can't type into applet demos in Pivot

Details
Type:
Bug
Submit Date:
2012-03-22
Status:
Closed
Updated Date:
2012-07-05
Project Name:
JDK
Resolved Date:
2012-07-05
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u6

Related Reports
Backport:

Sub Tasks

Description
Pivot is a UI toolkit from Apache. The demos are at http://pivot.apache.org/demos/kitchen-sink.html

On Mac OS X with the top-of-tree as of 3/22/12 you can't type into any of the text fields.

1. Load the URL above.
2. Click on the Text section
3. Click on a text field
4. Type
-------> Nothing happens.

Not sure if it's a regression. 7u-dev has the recent fix for key events.

                                    

Comments
SUGGESTED FIX

Fixed - http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/13b099d9694f
                                     
2012-04-03
EVALUATION

We need to call peer.notifyActivation (instead of directly dispatching focus events) in the NPCocoaEventFocusChanged/NPCocoaEventWindowFocusChanged handlers in CEmbeddedFrame.
                                     
2012-03-26



Hardware and Software, Engineered to Work Together