Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4631187

Couldn't recover the delete char when cancel the input char in swing

    Details

      Description

      merlin b92
      windows or solaris for zh
      input style: on-the-spot

      On solaris:
      #tar -xvf swing_awt_test.tar(in attachment)
      #cd swingtest/classes
      #java SwingTest -command test
      there will popup a dialog, in that dialog there have many edit control, use one of these to test such as JTextArea.
      drag the mouse over to make some char selected
      press the key <ctrl>+<space> to activate the input method
      then input 'w' then press <Esc> to cancel input, but the selected char have been deleted and couldn't recover.

      Commit locale char and delete the selected char should keep as atomic operate.

      On windows:
      all same except run parameter: #java -Djava.awt.im.style=on-the-spot SwingTest test

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              lefan Leon Fan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: