PopupView is not shown programmatically

Hello Forum,

is there a problem with the PopupView?

It is not shown programmatically as in example
http://demo.vaadin.com/book-examples-vaadin7/book/#layout.popupview.programmatic.

Nothing happens when I control it via button. No output to console.

When I use it via link as in example PopupView(“Open the popup”, popupContent) it is working.

Using Vaadin 7.4.

Regards
Alex

…OK solved:

Confused PopupView.setVisible(true) with PopupView.setPopupVisible(true)