Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do you Change the default cursor?

 
michael page
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to change my default cursor in my applet to a cross-hair. How can i do that?

[ February 06, 2002: Message edited by: michael page ]
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about this:
setCursor(new Cursor(Cursor.CROSSHAIR_CURSOR));
 
michael page
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aha! Thats how you do it!
Cheers Roy!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic