### Eclipse Workspace Patch 1.0 #P org.eclipse.swt Index: Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java,v retrieving revision 1.41 diff -u -r1.41 Cursor.java --- Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java 24 May 2010 11:58:43 -0000 1.41 +++ Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java 25 May 2010 11:10:09 -0000 @@ -12,6 +12,7 @@ import org.eclipse.swt.internal.win32.*; +import org.eclipse.swt.widgets.Display; import org.eclipse.swt.*; /** @@ -151,6 +152,10 @@ *

* You must dispose the cursor when it is no longer required. *

+ * NOTE: + * It is recommended to use {@link Display#getSystemCursor(int)} + * instead of using this constructor. This way you can avoid the + * overhead of disposing the Cursor resource. * * @param device the device on which to allocate the cursor * @param style the style of cursor to allocate