-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
1.1.1
-
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.
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.
- relates to
-
JDK-4087087 eou: Loss of Mouse Events when using Class Scrollbar
-
- Closed
-
-
JDK-4318862 Mouse Events not triggered properly
-
- Closed
-