JDK-7154062 : [macosx] Mouse cursor isn't updated in applets
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2012-03-15
  • Updated: 2014-10-15
  • Resolved: 2012-05-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6Fixed 8 b38Fixed
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
Verified b102!
15-08-2013

EVALUATION Pushed: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/bbbf4e63562b
02-05-2012

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;
26-04-2012