A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to set up a hourglass?
Joined: May 14, 2003
Jun 09, 2003 12:11:00
I have a Java Swing
Application. I want to know how to setup a hourglass during the program perform a big task.
Leverager of our synergies
Joined: Aug 26, 2000
Jun 09, 2003 17:53:00
Moving to Swing/JFC/AWT forum...
"I try my best to make *all* my posts nice, even when I feel upset" --
Joined: Jun 24, 2002
Jun 10, 2003 08:28:00
You have to do this by your own. put the setCursor() in a thread to simulate the moving.
here some code:
Cursor cur = getToolkit().createCustomCursor(
("hourglass01.gif").getImage(), new Point(10,10), "Cursor");
Joined: May 17, 2001
Jun 10, 2003 10:10:00
Use (Hourglass cursor):
I agree. Here's the link:
subject: How to set up a hourglass?
Help providing visual confirmation
change cursor to an hourglass
Disable JFrame and change cursor icon
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014