Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do you Change the default cursor?  RSS feed

 
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
Boost this thread!