src/share/classes/sun/awt/GlobalCursorManager.java

Print this page

        

*** 132,142 **** /** * Returns the global cursor position, in screen coordinates. */ protected abstract void getCursorPos(Point p); ! protected abstract Component findComponentAt(Container con, int x, int y); protected abstract Point getLocationOnScreen(Component com); /** * Returns the most specific, visible, heavyweight Component * under the cursor. This method should return null iff the cursor is --- 132,146 ---- /** * Returns the global cursor position, in screen coordinates. */ protected abstract void getCursorPos(Point p); ! protected Component findComponentAt(Container con, int x, int y){ ! return AWTAccessor.getContainerAccessor(). ! findComponentAt(con, x, y, false); ! } ! protected abstract Point getLocationOnScreen(Component com); /** * Returns the most specific, visible, heavyweight Component * under the cursor. This method should return null iff the cursor is