JDK-7124486 : [macosx] Replacing text in a TextField does generate an extra TextEvent
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: generic
  • Submitted: 2011-12-23
  • Updated: 2011-12-28
  • Resolved: 2011-12-23
Related Reports
Duplicate :  
Description
http://java.net/jira/browse/MACOSX_PORT-772 submitted 2011/12/09 by Yuri Nesterenko
Run the attached text. When it finished what it does, select all and press a letter (say, 'i'). Immediately you'll get not one but 2 TextEvents with 'i'.
For some reason the unit test mentioned below sometimes works OK but mostly fails. It's success is a matter of timing perhaps.

Comments
EVALUATION Author: Yuri Nesterenko Date: 09/Dec/11 01:17 PM Build: b220 java/awt/event/TextEvent/TextListener01.java closed/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest
23-12-2011