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.