File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
I agree. Here's the link:
subject: Mouse Cursor for JEditorPane
It's not a secret anymore!