基于java的图书管理系统源代码声明:本系统是基于C/S的图书管理系统,主要使用的是Oracle数据库,下面附所有实现代码packagelibrary;;;;;;;;;;;;;;lassbook_addextendsJFrameimplementsActionListener{ DataBaseManagerdb=newDataBaseManager(); ResultSetrs; JPanelpanel1,panel2; JLabelbook_id_label,book_name_label,author_label, press_label,press_date_label,price_label,book_num_label,borrowed_num_label,address; JTextFieldbook_id_TextField,book_name_TextField,author_TextField, press_TextField,press_date_TextField,price_TextField,book_num_TextField, borrowed_count; JComboBoxaddresst; Containerc; JButtonclear,add,exit; publicbook_add() { super("添加图书信息"); c=getContentPane(); (newBorderLayout()); book_id_label=newJLabel("编号",); book_name_label=newJLabel("名称",); author_label=newJLabel("作者",); press_label=newJLabel("出版社",); press_date_label=newJLabel("出版日期",); price_label=newJLabel("价格",); book_num_label=newJLabel("库存数",); borrowed_num_label=newJLabel("已借阅数",); address=newJLabel("藏书地址",); book_id_TextField=newJTextField(15); book_name_TextField=newJTextField(15); author_TextField=newJTextField(15); press_TextField=newJTextField(15); press_date_TextField=newJTextField(15); price_TextField=newJTextField(15); book_num_TextField=newJTextField(15); borrowed_count=newJTextField(15); ("0"); addresst=boBox(); ("扬子津图书馆"); ("荷花池图书馆"); ("瘦西湖图书馆"); ("淮海路图书馆"); panel1=newJPanel(); (newGridLayout(9,2)); (book_id_label); (book_id_TextField); (book_name_labe
基于java的图书管理系统源代码 来自淘豆网m.daumloan.com转载请标明出处.