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

BasicComboPopup.convertMouseEvent coding error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • client-libs
    • beta
    • generic
    • generic



      Name: sl110371 Date: 06/21/2000


      java version "1.2.2"
      Classic VM (build 1.2.2-L, green threads, nojit)



      NOTE:
      This is a coding bug in Swing, which I've seen in the source code for both the
      JDK 1.2.2 *and* JDK 1.1.8.

      src/javax/swing/plaf/basic/BasicComboPopup.java has an error in
      convertMouseEvent(MouseEvent e)

      Specifically, when creating newEvent, you're placing the original modifiers to
      the mouse event into the click count field of the new mouse event.

      I haven't seen it cause any problems yet, I found it while investigating a
      different problem in my code.
      (Review ID: 105596)
      ======================================================================

            mdavidsosunw Mark Davidson (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: