United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7154062 [macosx] Mouse cursor isn't updated in applets
JDK-7154062 : [macosx] Mouse cursor isn't updated in applets

Details
Type:
Bug
Submit Date:
2012-03-15
Status:
Closed
Updated Date:
2013-09-23
Project Name:
JDK
Resolved Date:
2012-05-09
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
When an applet is showing an AWT TextField and the user starts typing something, the mouse cursor isn't updated and the default cursor is used.

1. Install the Java plugin on Mac OS X
2. Go to http://java.sun.com/products/plugin/1.4/demos/jfc/SwingSet2/SwingSet2.html
3. Click on any text field and start typing
4. Notice that the mouse cursor isn't updated

Compare to Apple's JDK 6, where the mouse cursors work as expected.

                                    

Comments
EVALUATION

Here's new method (introduced in the latest developer package) we need to use to allow cursor changes in applets:

+ (void) javaSetAllowsCursorSetInBackground:(BOOL)allows;
                                     
2012-04-26
EVALUATION

Pushed:

http://hg.openjdk.java.net/jdk8/awt/jdk/rev/bbbf4e63562b
                                     
2012-05-02
Verified b102!
                                     
2013-08-15



Hardware and Software, Engineered to Work Together