O'Reilly logo

JavaFX 1.2 Application Development Cookbook by Vladimir Vivien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Showing progress with the progress controls

As a rich client platform, you will undoubtedly create long-running processes in JavaFX. You will, for instance, need to connect to a remote web server in order to download images or access large data set from a database server. In either case, it is imperative that the user's expectation is managed properly during the execution of these processes, or your application runs the risk of being labeled broken.

One of the most popular ways by which rich client applications manage the user experience during long-running processes is through the use of progress indicator widgets. This recipe shows you how to use JavaFX's built-in progress indicator controls to show progress of a long-running processes.

Getting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required