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

Provide support for scrolling-mechanisms of non-mouse input-devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.4.1, 7, 8, 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b150
    • CPU:
      x86
    • OS:
      windows_2000, windows_xp

      Description

      Name: yyT116575 Date: 02/26/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


      As noted by Sun, a MouseWheelListener is added to the BasicScrollPaneUI.
      Alternative input-devices (read: not mice) like touchpads often also actively
      support scrolling. This should work in Java as good as in native apps. In the
      case of my touchpad I can slide a horizontal or vertical edge and my window
      will scroll: Very convenient and intuitive. It seems likely to me that this
      done by it's device-driver sending scrolling events to the targeted native
      window. Aren't these events catchable by the underlying Swing-components? I can
      imagine that this would be regular native scrolling-events which could be
      transformed to 'special AWT events' and from there be adapted as Java Swing
      scrolling-events.
      The native device-drivers have already done the job of transforming the lower
      level device-events to higher-level scrolling events of the native GUI. It
      seems to me that all that rests is to get those events into the Java event
      system. It's only a quick think-over, but a solution seems very important to
      me. People expect these features..
      (Review ID: 117711)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serb Sergey Bylokhov
              Reporter:
              yyoungsunw Yung-ching Young (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: