3031323334353637383940
this.add(panel); this.center(); } public void setText(final String statusText) { progressBar.setTextFormatter(new TextFormatter(){ @Override protected String getText(ProgressBar bar, double curProgress) { return statusText; }});