aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to add LOADING... effect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to add LOADING... effect " Watch "how to add LOADING... effect " New topic
Author

how to add LOADING... effect

Rishabh Rathi
Greenhorn

Joined: Mar 07, 2011
Posts: 13
Hello everybody.
I am working on a project of compression.In the user interface i want to add the effect of ADDING.... and EXTRACTING..... in the same way it is present in Winzip. Means i want my user interface to be just like winzip in which while ADDING or EXTRACTING files ,file names are shown and LOADING effect( green rectangle move constantly saving its previous image)
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10266
    
    8

Take a look at JProgressBar


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Giovanni Lima
Greenhorn

Joined: Mar 08, 2011
Posts: 13
The effect must be realistic, in the other words, the progress must be calculated based in the real extracting process.. so make sure to do that, you can create listeners that would be called as the process occurs!
André Sébastien
Greenhorn

Joined: May 27, 2008
Posts: 7
You can also use an API like http://code.google.com/p/jbusycomponent/ that help you to show and follow tasks executions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to add LOADING... effect