diff options
Diffstat (limited to 'documentation/components/components-popupview.asciidoc')
-rw-r--r-- | documentation/components/components-popupview.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/components/components-popupview.asciidoc b/documentation/components/components-popupview.asciidoc index ad4000fa04..bcb17db713 100644 --- a/documentation/components/components-popupview.asciidoc +++ b/documentation/components/components-popupview.asciidoc @@ -46,7 +46,7 @@ PopupView popup = new PopupView(null, new Table(null, TableExample.generateContent())); // A component to open the view -Button button = new Button("Show table", click -> // Java 8 +Button button = new Button("Show table", click -> popup.setPopupVisible(true)); layout.addComponents(button, popup); |