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
-
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)
======================================================================
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
- duplicates
-
JDK-4905223 Horizontal Scrolling
-
- Closed
-
- relates to
-
JDK-4083501 Need Input Polling for Games (keyboard, etc)
-
- Open
-
-
JDK-4965240 Support for "tap and hold" and other touch-oriented capabilities
-
- Open
-
-
JDK-4874103 addMouseWheelListener doesn't work with a Thinkpad Trackpoint
-
- Open
-
-
JDK-8033000 No Horizontal Mouse Wheel Support In BasicScrollPaneUI
-
- Resolved
-