wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
jQuery in Action, 2nd edition
 
subject: Mouse Cursor for JEditorPane
 
Similar Threads
DHTML and Javascript
Help me to solve these problems in JEditorPane
Link to open using JEditor Pane
magnifier cursor in java
magnifier cursor in java