title: Having an issue while opening external BIRT link in Vaadin14
body: <h2>I am trying to take input from the below screen and open Birt Report directly into PDF. (I am using Vaadin 14)</h2>
  <p><strong>Problem:</strong>
  <em>My Anchor/Button is not opening any link on the first click every time this UI gets loaded. But After clicking once from the second click onward, it is working fine. Any Idea what can be the issue and what mistake I've made?</em></p>
  <p><a href="https://i.stack.imgur.com/mVqut.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mVqut.png" alt="enter image description here" /></a></p>
  <p><strong>Below are my global Variables:</strong></p>
  <pre><code>final Button                    printButton                     =
      new Button(&quot;Print Report&quot;, VaadinIcon.PRINT.create());
  String                          url                             = null;
  final Anchor                    anchorReport                    = new Anchor();
  </code></pre>
  <p><strong>My Consutructor:</strong></p>
  <pre><code>public AssignmentCompletedAllRPTView()
  {
      super();
      this.initUI();
      this.radioButtonGroup.setItems(&quot;Yes&quot;, &quot;No&quot;);
      this.printButton.addClickListener(new ComponentEventListener&lt;ClickEvent&lt;Button&gt;&gt;()
      {
          @Override
          public void onComponentEvent(final ClickEvent&lt;Button&gt; event)
          {
              AssignmentCompletedAllRPTView.this.printButton();
          }
      });
      this.ConfigureReportButton();
  }
  </code></pre>
  <p><strong>ConfigureReportButton():</strong></p>
  <pre><code>private void ConfigureReportButton()
  {
      this.anchorReport.setTarget(&quot;_blank&quot;);
      this.anchorReport.add(this.printButton);
      this.buttonHorizontalLayout.add(this.anchorReport);
  }
  </code></pre>
  <p><strong>printButton():</strong></p>
  <pre><code>private void printButton()
  {
          final String reportURL = //--URL
          this.anchorReport.setHref(reportURL);
  }
  </code></pre>