hour glass

R

raj

While system is processing, how to display a "processing" symbol
(e.g. like an hour-glass symbol in Windows), so that the User knows
the System is processing the user's request

my code is in java,when i am downloading a page on clicking a link i
need to show the user that the page is getting downloaded .

can anyone suggest me on this.
 
J

Jeff Higgins

raj said:
While system is processing, how to display a "processing" symbol
(e.g. like an hour-glass symbol in Windows), so that the User knows
the System is processing the user's request

my code is in java,when i am downloading a page on clicking a link i
need to show the user that the page is getting downloaded .

can anyone suggest me on this.

Describes some techniques:
<http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html>
 
R

RedGrittyBrick

raj said:
While system is processing, how to display a "processing" symbol
(e.g. like an hour-glass symbol in Windows), so that the User knows
the System is processing the user's request

my code is in java,when i am downloading a page on clicking a link i
need to show the user that the page is getting downloaded .

can anyone suggest me on this.

I've used this ...
component.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
...
component.setCursor(null);
where component might be your top-level JFrame for example.

I encapsulated this in a class that keeps track of busy threads so that
I can manage cursor state for a JFrame depending on the state of
multiple overlapping (in time) busy threads.

You can of course have different cursors for different areas of your GUI
by using setCursor on separate components or containers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top