aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Mouse Cursor for JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Mouse Cursor for JEditorPane" Watch "Mouse Cursor for JEditorPane" New topic
Author

Mouse Cursor for JEditorPane

Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194
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?


-Sam Codean<br />SCJP 1.4 (98%)<br />SCJD 5.0 (87.5%)
Terry Ong
Ranch Hand

Joined: Apr 07, 2006
Posts: 50
Hi.

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

See if this helps.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Mouse Cursor for JEditorPane