Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 week ago
ProgressBar broken?
Hello,
I want to show the users quota by using the ProgressBar.
Pretty standard, taken from the book.
final ProgressBar bar = new ProgressBar(0.0f);
hl.addComponent(bar);
hl.addComponent(new Button("Increase",
new Button.ClickListener() {
@Override public void buttonClick(Button.ClickEvent event) {
float current = bar.getValue();
if (current < 1.0f) bar.setValue(current + 0.10f);
}
}));
But it isn't ivisilbe (setVisible(true) of course)
http://i.imgur.com/C1CwMKz.png
HTML -> http://i.imgur.com/T3fkksg.png
Last updated on
You cannot reply to this thread.