private void grammarReloadButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_grammarReloadButtonActionPerformed
        boolean readable = readFileOrShowError(grammarFileTextField.getText(), grammarTextPane);
        grammarReloadButton.setEnabled(readable);
    }//GEN-LAST:event_grammarReloadButtonActionPerformed