public Window getWindow() { if (!isFloatingWindow) { return null; } if (keyboardWindow == null) { keyboardWindow = new Window(); keyboardWindow.setCaption("Virtual Keyboard"); // keyboardWindow.setPositionX(200); // keyboardWindow.setPositionY(100); // keyboardWindow.setWidth("600"); // keyboardWindow.setHeight("300"); keyboardWindow.setVisible(false); keyboardWindow.setContent(this); keyboardWindow.setResizable(false); } return keyboardWindow; }
protected void settingsIconClicked() { final Window addUpdateWindow = createUpdateTargetTagLayout.getWindow(); UI.getCurrent().addWindow(addUpdateWindow); addUpdateWindow.setVisible(true); }