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

Paste with mouse button to JTextField during converiosn causes Exception.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.1
    • client-libs
    • None
    • b25
    • sparc
    • solaris_8


      This bug was separated from 4686956.

      Under SPARC/Intel j2se JDK1.3.1_02, ja locale, JTextField causes
      IllegalArgumentExceptionby when user pastes a text with mouse middles button
      if there is a preedit string of converison. Implicit commit should be
      functioned.


      This bug is also seen with JDK1.3.1_02, JDK1.4.1 and JDK1.4.2 PIT build.

      To reproduce:
           1) % java Sample attahced in 4686956.
           2) Conversion-on for Japanese input
           3) input something such as 'aiueo' and does not commit the string
           4) Paste some text into the JTextFiled by using mouse middle button
              *When paste the string, push mouse middle button on the preedit string
              of conversion. e.g.) put string on to 'aiueo' that still did not commit
              the string.
              -> It makes IllegalArgumentException.

            naoto Naoto Sato
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: