freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

圖書管理系統(tǒng)源代碼(參考版)

2024-10-25 17:27本頁面
  

【正文】 results[i][3]=()。}else{sex=”女“;}results[i][1]=sex。//定義二維數(shù)組String sex。i{Reader reader=(Reader)(i)。private Object[][] getFileStates(List list){Object[][]results=new Object[()][]。}}private String[] columnNames(”名稱“,”性別“,”年齡“,”證件號碼“,”借書證有效日期“,”借書量“,”電話“,”押金“,”證件“,”職業(yè)“,”讀者編號“,”辦證時間“);private String[] array=new String[]{”身份證“,”軍人證“,”學生證“}。//類型轉(zhuǎn)換if((()){()。doDefaultCloseAction()。if(l==(V1))//檢查是否存在該讀者{(null,”添加失敗,該讀者編號已存在!“);}else{Int i=(().trim(),(),().trim(),().trim(),(().trim()),().trim().().trim(),(().trim()),zj,().trim(),(().trim()),().trim())。(”reader“)。Vector v1=new Vector()。//校驗類String zj=(())。final JLabel label_3=new JLabel()。(new Document(10))。(”姓名:“);(label_2)。(panel_1)。(gridLayout)。(15)。final JPanel panel_1=new JPanel()。(new FlowLayout())。getContentPane().add(logoLabel,)。()。(readerAddIcon)。final JLabel logoLabel=new JLabel()。//設(shè)置窗體可最小化setClosable(true)。//設(shè)置密碼輸入框為空} } }//基本信息管理模塊public class ReaderAdd extends JInternalFrame//添加讀者信息 { public ReaderAdd(){super()。//彈出提示框(”“)。//設(shè)置登錄窗體為不顯示}catch(Exception ex){()。//創(chuàng)建一個主窗體(true)。//設(shè)置密碼輸入框為空} } private class BookLoginAction implements ActionListener { public void actionPerformed(final ActionEvent e){user=((),new String(()))。} } private class BookResetAction implements ActionListener { public void actionPerformed(final ActionEvent e){(“)。} public static Operater getType(){return Type。//設(shè)置創(chuàng)建可見setResizable(false)。//添加監(jiān)聽器(“重置”);//設(shè)置按鈕文本(reset)。//把按鈕添加到底部面板reset=new JButton()。//添加監(jiān)聽器(“登錄”)。//添加到主面板中l(wèi)ogin=new JButton()。//添加到中心面板final JPanel southPanel=new JPanel。//設(shè)置密碼長度為6(new KeyAdapter()//監(jiān)聽密碼框{public void keyPressed(final keyEvent e)//監(jiān)聽鍵盤案件事件{if(()==10)//如果按了回車鍵{()。//設(shè)置標簽文本password=new JPasswordField(20)。//設(shè)置對齊方式(passwordLabel)。//添加到中心面板final JLabel passwordLabel=new JLabel()。//創(chuàng)建文本框(new Dimension(0,0))。//添加到中心面板(“用戶名:”)。//設(shè)置組件大小(new Dimension(0,0))。//創(chuàng)建一個標簽()。//使用布局管理器(centerPanel)。//設(shè)置組件之間平行的距離(20)。//添加一個中心面板final GridLayout gridLayout=new GridLayout(2,2)。//設(shè)置標簽大小(imageLabel,)。//設(shè)置繪制其邊界內(nèi)的所有像素()。//創(chuàng)建一個圖像圖標(loginIcon)。//在窗體中加入主面板final JLabel imageLabel=new JLabel。//創(chuàng)建主面板(new BorderLayout())。setLocation((())/2,(())/2)。//獲得默認的工具箱Dimension screenSize=()。//設(shè)置組件間的垂直關(guān)系getContentPane().setLayout(borderLayout)。//創(chuàng)建布局管理器setDefaultCloseOperation()。public BookLogin(){super()。private JButton login。//用戶名private JPasswordField password。} }//系統(tǒng)登錄模塊設(shè)計public class BookLogin extends JFrame { private static final Operater Type=null。}public String getReaderName(){return readerName。}public String getReader_id(){return reader_id。} public String getBook_id(){return book_id。} public String getOperatorId(){return operatorId。} public string getBorrowDate(){ return borrowDate。} public String getBookname(){ return bookname。} public string getBackDate(){ return backDate。} public int getTypeId(){ return typeid。private int id; public int getId(){ return id。//讀者姓名 private String reader_id。//圖書借閱時間private String backDate。//圖書名稱private String operatorId。} } public class Back//圖書歸還信息類 { private String book_id。} public int getId(){return id。} public String getReader_id(){return reader_id。} public String getBook_id(){return book_id。} public String getNum(){return num。} public string getBorrowDate(){return borrowDate。} public string getBackDate(){return backDate。//圖書名稱public String getBookname(){return bookname。//借書日期private String backDate。//讀者編號private String num。//借閱編號private String book_id。} public void setPassword(String password){=password。} public void setName(String name){=name。} public void setId(String id){=id。} public void setGrade(String grade){=grade。} public void setType(String type){=type。//操作員密碼private String type。//操作員用戶名private String grade。} } public class Operater { private String id。} public void setOperator(String operator){=operator;} public String getZk(){return zk。} public void setNumber(String number){ =number。} public void setBook_id(String book_id){ =book_id。} public void setDate(Date date){ =date。} public void setcheckAndAccept(String checkAndAccept){ =checkAndAccept。//是否收到貨 private String zk。//圖書數(shù)量 private String operator。//圖書編號 private Date date。} public void setTypeName(String typeName){=typeName。} public void setId(String id){=id。} public void setDays(String days){=days。} public void setFk(String fk){=fk。//可解天數(shù)private String fk。//圖書類別編號private String typeName。} public void setWriter(String writer){=writer。} public void setTypeid(String typeid){ =typeid。} public void setTranslator(String translator){ =translator。} public void setPublisher(String publisher){ =Publisher。} public void setprice(Double price){ =price。} public void setBook_id(String Book_id){ =Book_id。} public void setDate(Date date){=date。} public void setBookname(String bookname){=bookname。//圖書單價private String getBookname。//出版社private Date date。//作者private String translator。//圖書編號private String typeid。}finally{conn=null。}finally{} } public static void close()//關(guān)閉方法 {try{()。//執(zhí)行更新}}catch(SQLException e){()。//返回null值}finally{} } public static int executeUpdata(String sql)//更新方法{try{if(conn==null){new Business()。//執(zhí)行查詢}}catch(SQLException e){()。} } public static ResultSet executeQuery(String sql)//執(zhí)行查詢方法{try{//如果連接對象為空,則重新調(diào)用構(gòu)造方法if(conn==null){new Business()。//加載驅(qū)動類信息conn=(dbUr1,dbUser,dbPwd)。//數(shù)據(jù)庫密碼private static Connection conn=null。//連接URL protected static String dbUser=“root”。} public class Business { protected static String dbClassName=“”。//顯示提示文本(ExitButton)。//創(chuàng)建圖標方法(Exiticon)。//添加到工具欄JButton ExitButton=new JButton()。//設(shè)置按鈕圖標(true)。//讀者信息修改按鈕ImageIcon readerModiAndDelicon=(“”)。//顯示提示文本(readerAddButton)。//創(chuàng)建圖標方法(readerAddicon)。
點擊復制文檔內(nèi)容
教學教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1