Link Details

Link 141755 thumbnail
User 111696 avatar

By bloid
Published: Dec 16 2008 / 08:15

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.
  • 9
  • 1
  • 4755
  • 63
User 175648 avatar

osbald replied ago:

0 votes Vote down Vote up Reply

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?

User 175648 avatar

osbald replied ago:

0 votes Vote down Vote up Reply

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

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java