Review request for 7132793: [macosx] setWheelScrollEnabled action reversed
Alexander.Potochkin at oracle.com
Mon Feb 20 06:39:38 PST 2012
Thanks for looking at it Artem
Sergey just reported that surprisingly this fix doesn't work well for
MacOSX 10.6 GUI
when ScrollBars have arrow buttons (unlike with 10.7)
So I completely rewrote this fix, making sure it works for both OS versions.
Simultaneous supporting of horizontal and vertical scrolling events on a
is a nice side effect of this approach.
(awt.ScrollPane on JDK 1.6 supports only vertical scrolling)
Here you are:
> Looks fine to me.
> On 2/15/2012 9:19 PM, Alexander Potochkin wrote:
>> Please review the following fix:
>> the bug's description is here:
>> LWScrollPanePeer doesn't respect wheelScrollingEnabled property
>> and doesn't implement several methods that are necessary
>> to support scrolling with the mouse wheel.
>> sun.awt.ScrollPaneWheelScroller.getAdjustableToScroll() works only
>> if the ScrollPane's insets are set
More information about the macosx-port-dev