ProgressIndicator () { ProgressIndicator progress = ProgressIndicatorProvider.getGlobalProgressIndicator(); if (progress == null) { progress = new EmptyProgressIndicator(); progress.start(); } progress.setIndeterminate(false); return progress; }