<AWT Dev> [8] Request for review: 7150100 [macosx] "0123456789" is selected in the TextField.

Mike Swingler swingler at apple.com
Wed Mar 28 09:18:28 PDT 2012


On Mar 28, 2012, at 9:05 AM, Sergey Bylokhov wrote:

> Hi Everyone, 
> Two issues resolved:
> 1) We should set caret position before the text selection.
> 2) On macosx we clear selection when the test component lost its focus, so test was simplified and instructions dialog was removed (because sometimes it steal the focus from the text component)
> 
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7150100 
> Webrev can be found at: http://cr.openjdk.java.net/~serb/7150100/webrev.00/

Does this change the behavior of where the cursor ends up if you press the left or right keys while there is a selection? We get this wrong in Java SE 6, and I was wondering if this corrects that behavior.

Regards,
Mike Swingler
Apple Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20120328/6ab6403b/attachment.html 


More information about the awt-dev mailing list