コード例 #1
0
  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;
  }
コード例 #2
0
 protected void settingsIconClicked() {
   final Window addUpdateWindow = createUpdateTargetTagLayout.getWindow();
   UI.getCurrent().addWindow(addUpdateWindow);
   addUpdateWindow.setVisible(true);
 }