Lines 12-17
Link Here
|
12 |
|
12 |
|
13 |
|
13 |
|
14 |
import org.eclipse.swt.internal.win32.*; |
14 |
import org.eclipse.swt.internal.win32.*; |
|
|
15 |
import org.eclipse.swt.widgets.Display; |
15 |
import org.eclipse.swt.*; |
16 |
import org.eclipse.swt.*; |
16 |
|
17 |
|
17 |
/** |
18 |
/** |
Lines 151-156
Link Here
|
151 |
* <p> |
152 |
* <p> |
152 |
* You must dispose the cursor when it is no longer required. |
153 |
* You must dispose the cursor when it is no longer required. |
153 |
* </p> |
154 |
* </p> |
|
|
155 |
* NOTE: |
156 |
* It is recommended to use {@link Display#getSystemCursor(int)} |
157 |
* instead of using this constructor. This way you can avoid the |
158 |
* overhead of disposing the Cursor resource. |
154 |
* |
159 |
* |
155 |
* @param device the device on which to allocate the cursor |
160 |
* @param device the device on which to allocate the cursor |
156 |
* @param style the style of cursor to allocate |
161 |
* @param style the style of cursor to allocate |