Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

hour glass

Thread view: 
raj - 10 Mar 2008 17:10 GMT
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.
Jeff Higgins - 10 Mar 2008 17:25 GMT
> While system is processing, how to  display a "processing" symbol
> (e.g. like an hour-glass symbol in Windows), so that the User knows
[quoted text clipped - 4 lines]
>
> can anyone suggest me on this.

Describes some techniques:
<http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html>
RedGrittyBrick - 10 Mar 2008 20:04 GMT
> While system is processing, how to  display a "processing" symbol
> (e.g. like an hour-glass symbol in Windows), so that the User knows
[quoted text clipped - 4 lines]
>
> 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.
Roedy Green - 10 Mar 2008 22:51 GMT
>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

see http://mindprod.com/jgloss/cursor.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.