Java Cursor.getType()
Syntax
Cursor.getType() has the following syntax.
public int getType()
Example
In the following code shows how to use Cursor.getType() method.
import java.awt.Cursor;
//from w ww .ja v a2 s. com
public class Main {
public static void main(String[] args) {
System.out.println(Cursor.getDefaultCursor().getType());
}
}
Home »
Java Tutorial »
java.awt »
Java Tutorial »
java.awt »