setting cursor

From: vertigo (none_at_microsoft.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 11:59:43 +0200

Hello
i tried:
this.setCursor(new Cursor(HAND_CURSOR));
or:
this.setCursor(Cursor.HAND_CURSOR);

but i always receive when compiling that it's
deprecated API. How can i do it in new API ?

Thanx
Michal