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

KeyListener does not trap 'Paste' Keystroke in a TextField

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.3
    • client-libs
    • None
    • sparc
    • solaris_2.5.1



      Name: rm29839 Date: 09/16/97


      Looks like there is no way one can trap input to
      a TextField (before text is displayed) coming from
      a 'Paste' operation or a drag & drop operation.

      Seems like I should have something like
      InputListener to trap input from any source
      (keyboard, mouse paste, setText, so on) where I
      can validate the text before it is displayed in
      the field.
      company - Sun Microsystems , email - ###@###.###
      ======================================================================

            ehawkessunw Eric Hawkes (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: