<AWT Dev> [8] Request for review: 7150105 [macosx] four scroll-buttons don't display. scroll-sliders cursors are TextCursor.

Sergey Bylokhov sergey.bylokhov at oracle.com
Sat Mar 31 13:04:29 PDT 2012


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/

-- 
Best regards, Sergey.




More information about the awt-dev mailing list