public void actionPerformed(ActionEvent e){

                int resultID=-1;
                resultID=notepadBLL.add(dateText.getText(),sortText.getText(),captionText.getText(),commentsText.getText());
                String []rowValues = {String.valueOf(resultID),dateText.getText(),sortText.getText(),captionText.getText(),commentsText.getText()};

                tableModel.addRow(rowValues);  //һ
                int rowCount = table.getRowCount() +1;   //1
                JOptionPane.showMessageDialog(null,"ӳɹ");

            }