로딩
요청 처리 중입니다...

JDBC Programming 작성법3-고객관리(등록,수정,삭제,조회)

 JDBC Programming 작성법3-고객관리(등록,수정,삭제,조회)

수정 else if(e.getSource()==btnUpdate) {//수정 if(isUpdate==false) {//수정버튼을 처음 눌렀다면 txtCirum.setEditable(true);//편집상태로 전환->커서 입력 txtCjunhwa.setEditable(true);//전화번호 txtCjuso.setEditable(true);//주소 btnUpdate.setText("완료"); isUpdate=true; }else {//완료 -> 수정을 하겠다는 얘기 updateCustomer();//수정메서드 호출 txtCirum.setEditable(false);//다시 편집x txtCjunhwa.setEditable(false);//전번 txtCjuso.setEditable(false);//주소 btnUpdate.setText("수정"); isUpdate=false; } private void updateCustomer() { //형식) update 수정테이블명 set 수정할 필드명=...