public void refresh() {

        try {
            questionDAO = new QuestionDAO();

            List<SettingQuestion> questions = null;

            questions = questionDAO.getAllFIBQuestion();

            QuestionTableModel model = new QuestionTableModel(questions);
            questionTable.setModel(model);

        } catch (Exception exc) {
            JOptionPane.showMessageDialog(this, "Error: " + exc, "Error", JOptionPane.ERROR_MESSAGE);
        }

        setTable();

    }