src/main/java/org/helm/notation2/parser/HELMNotationParserUI.java
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    String helmInput = input.getText();
    if (!(helmInput.contains("V2.0"))) {
      /* Translate into HELM2-format */
    	      helmInput = converter.doConvert(helmInput);
    	

    }

    /* read input */
    try {
      parser.parse(helmInput);
      writeOutputmessage();
    } catch (ExceptionState e) {
      output.setText("Invalid HELM-String (" + e.getMessage() + ")");
    }

  }
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    String helmInput = input.getText();
    if (!(helmInput.contains("V2.0"))) {
      /* Translate into HELM2-format */
    	      helmInput = converter.doConvert(helmInput);
    	

    }

    /* read input */
    try {
      parser.parse(helmInput);
      writeOutputmessage();
    } catch (ExceptionState e) {
      output.setText("Invalid HELM-String (" + e.getMessage() + ")");
    }

  }
private void jButton1ActionPerformed ( java . awt . event . ActionEvent evt ) { String helmInput = input . getText ( ) ; if ( ! ( helmInput . contains ( "V2.0" ) ) ) { /* Translate into HELM2-format */ helmInput = converter . doConvert ( helmInput ) ; } /* read input */ try { parser . parse ( helmInput ) ; writeOutputmessage ( ) ; } catch ( ExceptionState e ) { output . setText ( "Invalid HELM-String (" + e . getMessage ( ) + ")" ) ; } }
</editor-fold>
< / editor - fold >