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

AWT Scrollbar does not support TRACK_ENDED event

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.1
    • client-libs
    • x86
    • generic

      5/15/97 phyllisc (submitted this RFE on behalf of our customer -- NetDynamics)

      For a AWT Scrollbar there is no way to tell when the TRACK ended.
      Basically java.awt.event.AdjustmentEvent needs another
      constant called something like TRACK_ENDED to notify the ending of the
      TRACK. This is a very basic thing for any
      scrollbar implementation. You can check out the constants for Windows
      scroll.

      To get around this, I tried to trap MousePressed and MouseReleased
      events for the Scrollbar. But on windows for the left
      mouse button the MouseReleased event is not fired. It fires the right
      events for the middle and right mouse buttons but these buttons don't
      scroll.

      So, I guess there is no way at the moment to figure when the TRACK ended
      for a Scrollbar, which is unacceptable.

            ehawkessunw Eric Hawkes (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: