private void addBlankBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addBlankBtnActionPerformed
        try {

            question = questionField.getText();
            instructions = instructionField.getText();

            hlanswer = questionField.getSelectedText();
            hlanswer2 = "[" + hlanswer + "]";

            int start = questionField.getText().indexOf(hlanswer);

            if (start >= 0 && hlanswer.length() > 0) {
                questionField.replaceRange(hlanswer2, start, start + hlanswer.length());
            }

        } catch (Exception exc) {
            exc.printStackTrace();
        }

    }//GEN-LAST:event_addBlankBtnActionPerformed