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

mouseClicked() and mouseReleased() not getting called for AWT Scrollbar

XMLWordPrintable

    • generic
    • generic

      mouseClicked() and mouseReleased() are not getting called for AWT Scrollbar, and has different behaviour for WinXp and Solaris.

      Steps to reproduce
      ------------------
      1)Run the attached java code on Solaris 5.9.
      2)A Frame comes up with a vertical Scrollbar.
      3)Move mouse and click mouse button 1 over Scrollbar.
      4)See the console, mouseClicked() and mouseReleased() are not getting called.

      Note:It behaves differently on WinXP.mouseClicked() and mouseReleased() are getting called by clicking the mouse button 2,but its not the case on Solaris

            dav Andrei Dmitriev (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: