Link Details

In this tip, you'll learn how to use Swing's progress indicator support to monitor and report on the progress of long-running operations. It is a good practice to keep users informed as they interact with an application; one way to do this is with a progress bar. A progress bar is an animated image that indicates the degree of completion of a given task. The animation typically looks like a rectangular bar that fills in as the task becomes more complete.

Posted by bloid  |   Dec 16 2008 / 08:15

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 175648 avatar

osbald replied ago:

Actually tried to submit a comment to this but can't get their feedback from to stop rejecting everything I type as "Your comment was marked as spam and will not be displayed. Comment contains blacklisted/ignored words". Can anybody get this to work?

Anyway what I wanted to ask was:

Notice your code modifies a number of unsynchronised fields in the CopyFiles object from a background thread but at the same time tries to access those same fields from the EDT thread in propertyChange(). Not a critical failure but is that entirely safe?

Reply 0 votes
User 175648 avatar

osbald replied ago:

Oh couple of hours after being rejected now my comments appear.. grr

Reply 0 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone