• Post Reply Bookmark Topic Watch Topic
  • New Topic

wait cursor on JApplet  RSS feed

 
Jain Saurabh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
Can Anyone tell me how to set a wait cursor on my JApplet.
Thanks in advance
Saurabh
 
Vinod Venugopal
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When u want to use a wait cursor, then u could use:
setCursor(new Cursor(Cursor.WAIT_CURSOR ));
when u want to restore the cursor u could use:
setCursor(Cursor.getDefaultCursor());
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!