private void grammarSaveButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_grammarSaveButtonActionPerformed
        boolean writable = writeFileOrShowError(grammarFileTextField.getText(), grammarTextPane);
        grammarReloadButton.setEnabled(writable);
    }//GEN-LAST:event_grammarSaveButtonActionPerformed