public void book_register() throws Exception{

		System.out.println("[  Է]");
		Book newbook = new Book();
		scan.nextLine();  
		String newtitle;
		int inputcomplete2 =0;
		do{
			System.out.println("***********************************");
			System.out.print(":");
			newtitle = scan.nextLine();
			newbook.settitle(newtitle);
			inputcomplete2 =1;
		}while(inputcomplete2 ==0);

		inputcomplete2 = 0;
		String newauthor;
		do{
			System.out.print(":");
			newauthor = scan.nextLine();
			newbook.setauthor(newauthor);
			inputcomplete2 = 1;
		}while(inputcomplete2 == 0);

		inputcomplete2 = 0;
		String newpublish;
		do{
			System.out.print("ǻ:");
			newpublish = scan.nextLine();
			newbook.setpublish(newpublish);
			inputcomplete2 = 1;
		}while(inputcomplete2 == 0);

		inputcomplete2 = 0;
		int newISBN;
		do{
			System.out.print("ISBN:");
			newISBN = scan.nextInt();
			if(newISBN < 1000 || newISBN >=10000){
				System.out.println("ISBN 4ڸ Էּ.(1000~9999)");
			}else{
				//newISBN ߺǴ ISBN   ̹ ϵǾٸ
				if(bookcollect.getequalISBN(newISBN)==1){
					System.out.println("̹ ϵ ISBNԴϴ.");
				}
				else{
					newbook.setISBN(newISBN);
					inputcomplete2 = 1;
				}
			}
		}while(inputcomplete2 == 0);

		inputcomplete2 = 0;
		String newavail;
		do{
			System.out.print(" (O/X):");
			scan.nextLine();
			newavail = scan.nextLine();
			newbook.setavail(newavail);
			inputcomplete2 = 1;
		}while(inputcomplete2 == 0);

		inputcomplete2 = 0;
		String newborrower;
		do{
			System.out.print("뿩:");
			newborrower = scan.nextLine();
			if(newavail.equals("O")){
				if(newborrower.length() != 7){
					System.out.println("뿩ڸ 7ڸй Էּ");
				}else{
					newbook.setborrower(newborrower);
					inputcomplete2 = 1;
				}
			}
			else
				inputcomplete2 =1;
		}while(inputcomplete2 == 0);

		bookcollect.addbook(newbook);
		System.out.println("***********************************");
		librarian_menu();
	}