< prev index next >
modules/graphics/src/main/java/javafx/scene/ImageCursor.java
Print this page
*** 294,304 ****
if (cursorImage == null) {
currentCursorFrame = Cursor.DEFAULT.getCurrentFrame();
return currentCursorFrame;
}
! final Object cursorPlatformImage = cursorImage.impl_getPlatformImage();
if (cursorPlatformImage == null) {
currentCursorFrame = Cursor.DEFAULT.getCurrentFrame();
return currentCursorFrame;
}
--- 294,304 ----
if (cursorImage == null) {
currentCursorFrame = Cursor.DEFAULT.getCurrentFrame();
return currentCursorFrame;
}
! final Object cursorPlatformImage = Toolkit.getImageAccessor().getPlatformImage(cursorImage);
if (cursorPlatformImage == null) {
currentCursorFrame = Cursor.DEFAULT.getCurrentFrame();
return currentCursorFrame;
}
< prev index next >