private void LoadSyntaxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LoadSyntaxActionPerformed
        if (Cerrar()) {
            JFileChooser fileChooser = new JFileChooser();
            fileChooser.setMultiSelectionEnabled(false);
            fileChooser = setFilters(fileChooser, true, "text without format (*.txt)", "txt");
            fileChooser = setFilters(fileChooser, false, "sintax file (*.stx)", "stx");
            if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                syntaxArea.setText("");
                Object[] what= new Object[1];
                what[0] = fileChooser.getSelectedFile().toString();
                Controller.controller(Controller.readInputSintax, what);
                DireccionSintax.setText((String) what[0]);
            }
        }
    }//GEN-LAST:event_LoadSyntaxActionPerformed