Meaningless Drivel is fun!*
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

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

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

See if this helps.
It is sorta covered in the JavaRanch Style Guide.
subject: Mouse Cursor for JEditorPane
Similar Threads
Link to open using JEditor Pane
magnifier cursor in java
magnifier cursor in java
DHTML and Javascript
Help me to solve these problems in JEditorPane