title: Showing serialEvent in JLabel
body: <p>Hello I am having fun with Arduino :D</p>
  
  <p>And I have serialEvent</p>
  
  <pre><code>    public synchronized void serialEvent(SerialPortEvent oEvent) {
      if (oEvent.getEventType() == SerialPortEvent.DATA_AVAILABLE) {
          try {
              String inputLine = input.readLine();
              System.out.println(inputLine);
  
          } catch (Exception e) {
              System.err.println(e.toString());
          }
      }
  }
  </code></pre>
  
  <p>How should look like the code to display text in JLabel (java swing)</p>
  
  <pre><code>lblText.setText(inputLine.toString());
  </code></pre>
  
  <p>But I have error <code>inputLine cannot be resolved</code></p>