ProgressBar.setIntederminate example does not show

Using:

  • Vaadin 7.5.8
  • Theme: valo
  • JDK 8

There is an example usage called Indeterminate located
HERE
. (Book of Vaadin Examples-Vaadin 7 Edition)

final ProgressBar bar = new ProgressBar(); bar.setIndeterminate(true); layout.addComponent(bar); However, when I add it to a view or panel it does not show up in the application.

Any suggestions?

NOTE:
Not answered by:
HERE

I suppose I could use Jarno Rantala’s suggestion described
HERE
.

Java

Label label = new Label();
label.addStyleName("myspinner");

SASS:

.myspinner { @include valo-spinner(72px); } And, perhaps, place it in a panel.

But is the ProgressBar.setIndeteriminate(true) not working or deprecated?

From the
Valo Theme Demo
(
git
):

// com.vaadin.tests.themes.valo.CommonParts.java
//
final Label spinner = new Label();
            spinner.addStyleName("spinner");
            Button showSpinnerButton = new Button("Show spinner",
                    new ClickListener() {
                        @Override
                        public void buttonClick(final ClickEvent event) {
                            content.replaceComponent(event.getComponent(),
                                    spinner);
                        }
                    });
            content.addComponent(showSpinnerButton);