public void actionPerformed(ActionEvent e){
                int selectedRow = table.getSelectedRow();//ѡе
                if(selectedRow!= -1)   //Ƿѡ
                {
                    //޸ֵָ

                    tableModel.setValueAt(nameText.getText(), selectedRow, 1);
                    tableModel.setValueAt(pwdText.getText(), selectedRow, 2);
                    tableModel.setValueAt(commentsText.getText(), selectedRow, 3);
                }

                pwdBLL.update(IDLabel.getText(),nameText.getText(),pwdText.getText(),commentsText.getText());   //ݿ
                JOptionPane.showMessageDialog(null,"޸ĳɹ");
            }