< prev index next >
src/java.desktop/share/classes/java/awt/Cursor.java
Print this page
*** 144,154 ****
{ "AWT.MoveCursor", "Move Cursor" },
};
/**
* The chosen cursor type initially set to
! * the <code>DEFAULT_CURSOR</code>.
*
* @serial
* @see #getType()
*/
int type = DEFAULT_CURSOR;
--- 144,154 ----
{ "AWT.MoveCursor", "Move Cursor" },
};
/**
* The chosen cursor type initially set to
! * the {@code DEFAULT_CURSOR}.
*
* @serial
* @see #getType()
*/
int type = DEFAULT_CURSOR;
*** 281,291 ****
* specified name. Cursor names are, for example: "Invalid.16x16"
*
* @param name a string describing the desired system-specific custom cursor
* @return the system specific custom cursor named
* @exception HeadlessException if
! * <code>GraphicsEnvironment.isHeadless</code> returns true
* @exception AWTException in case of erroneous retrieving of the cursor
*/
public static Cursor getSystemCustomCursor(final String name)
throws AWTException, HeadlessException {
GraphicsEnvironment.checkHeadless();
--- 281,291 ----
* specified name. Cursor names are, for example: "Invalid.16x16"
*
* @param name a string describing the desired system-specific custom cursor
* @return the system specific custom cursor named
* @exception HeadlessException if
! * {@code GraphicsEnvironment.isHeadless} returns true
* @exception AWTException in case of erroneous retrieving of the cursor
*/
public static Cursor getSystemCustomCursor(final String name)
throws AWTException, HeadlessException {
GraphicsEnvironment.checkHeadless();
< prev index next >