Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mouse Cursor for JEditorPane

 
Sam Codean
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Folks,
I am displaying an HTML page using JEditorPane on my Swing client. Since the page loading takes a long time i want to show the mouse cursor spinning or showing that Sand clock. Can anyone help me out in this?
 
Terry Ong
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

Take a look at the class java.awt.Component.
public void setCursor(Cursor cursor)

See if this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic