use of com.cas.sim.tis.anno.FxThread in project TeachingInSimulation by ScOrPiOzzy.
the class PageController method showLoading.
/**
* Show the loading process.
*/
@FxThread
public void showLoading() {
loadingLayer.setVisible(true);
loadingLayer.toFront();
progressIndicator = new ProgressIndicator(ProgressIndicator.INDETERMINATE_PROGRESS);
progressIndicator.setPrefSize(50, 50);
// progressIndicator.setId(CssIds.EDITOR_LOADING_PROGRESS);
loadingLayer.getChildren().add(progressIndicator);
container.setDisable(true);
back.setDisable(true);
setLoading(true);
}
Aggregations