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

                    tableModel.setValueAt(nameText.getText(), selectedRow, 1);
                    tableModel.setValueAt(sexText.getText(), selectedRow, 2);
                    tableModel.setValueAt(phoneText.getText(), selectedRow, 3);
                    tableModel.setValueAt(emailText.getText(), selectedRow, 4);
                    tableModel.setValueAt(addressText.getText(), selectedRow, 5);
                }

                addrBookBLL.update(IDLabel.getText(),nameText.getText(),sexText.getText(),phoneText.getText(),emailText.getText(),addressText.getText());
                JOptionPane.showMessageDialog(null,"޸ĳɹ");
            }