<AWT Dev> [8] Request for review: 7150105 [macosx] four scroll-buttons don't display. scroll-sliders cursors are TextCursor.
Anthony Petrov
anthony.petrov at oracle.com
Tue Apr 3 03:50:36 PDT 2012
Hi Sergey,
The fix looks good to me.
--
best regards,
Anthony
On 4/1/2012 12:04 AM, Sergey Bylokhov wrote:
> Hi Everyone,
> A subcomponents may want to override the cursor over some of their
> parts(LWTextAreaPeer changes the cursor over scrollbars).
>
> Changes description:
> 1. LWComponentPeer.java:
> - Just one method added getCursor();
>
> 2. LWCursorManager.java:
> - updateCursorImpl now use LWComponentPeer.getCursor() if applicable.
> - cleanup + TODO implemented "// TODO: it's possible to get the
> component under cursor directly as"
>
> 3. LWTextAreaPeer.java:
> - Changes the cursor over scrollbars.
>
> 4. LWWindowPeer.java:
> - We should update cursor even on MOUSE_EXIT event.
>
> 5. CCursorManager.java:
> - currentCursor was always null. Unused method getNativeWindow()
> removed.
>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7150105
> Webrev can be found at: http://cr.openjdk.java.net/~serb/7150105/webrev.00/
>
More information about the awt-dev
mailing list