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

正文內(nèi)容

java版圖書管理系統(tǒng)課程設計報告-資料下載頁

2025-06-25 21:22本頁面
  

【正文】 m=()。 /** * Launch the application * * @param args */ /** * Create the frame */ String booksearch[] = { 編號, 分類, 名稱, 作者, 譯者,出版社, 出版日期, 單價 }。 private Object[][] getselect(List list) { Object[][] s = new Object[()][8]。 for (int i = 0。 i ()。 i++) { BookInfo book = (BookInfo) (i)。 s[i][0] = ()。 String booktypename=(().get(()))。 s[i][1] = booktypename。 s[i][2] = ()。 s[i][3] = ()。 s[i][4] = ()。 s[i][5] = ()。 s[i][6] = ()。 s[i][7] = ()。 } return s。 } private Object[] getselectid(List list) { Object[] ids = new Object[()]。 for (int i = 0。 i ()。 i++) { BookInfo book = new BookInfo()。 ids[i] = ()。 } return ids。 } public BookSearchIFrame() { super()。 setIconifiable(true)。 setClosable(true)。 setTitle(圖書查詢)。 setBounds(100, 100, 500, 400)。 setVisible(true)。 final JTabbedPane tabbedPane = new JTabbedPane()。 (new Dimension(0, 50))。 getContentPane().add(tabbedPane)。 final JPanel panel_1 = new JPanel()。 (new BorderLayout())。 (條件查詢, null, panel_1, null)。 final JPanel panel_1_1 = new JPanel()。 (new TitledBorder(null, 請選擇查詢項目, , , null, null))。 (new Dimension(0, 50))。 (panel_1_1, )。 choice=new JComboBox()。 String[] array={圖書名稱,圖書作者}。 for(int i=0。i。i++){ (array[i])。 } (choice)。 textField_1 = new JTextField()。 (20)。 (textField_1)。 final JPanel panel = new JPanel()。 (new TitledBorder(null, 查詢結(jié)果顯示, , , null, null))。 (panel)。 scrollPane_1 = new JScrollPane()。 (new Dimension(400, 200))。 (scrollPane_1)。 final JPanel panel_2_1 = new JPanel()。 (new Dimension(0, 50))。 (panel_2_1, )。 final JButton button = new JButton()。 (查詢)。 (button)。 (new ActionListener(){ public void actionPerformed(ActionEvent arg0) { String name=(String)()。 if((圖書名稱)){ Object[][] results=getselect((()))。 table_2 = new JTable(results,booksearch)。 (table_2)。 } else if((圖書作者)){ Object[][] results=getselect((()))。 table_2 = new JTable(results,booksearch)。 (table_2)。 } } })。 final JButton button_1 = new JButton()。 (退出)。 (button_1)。 (new CloseActionListener())。 setVisible(true)。 final JPanel panel_2 = new JPanel()。 (顯示圖書全部信息, null, panel_2, null)。 scrollPane = new JScrollPane()。 (new Dimension(450, 250))。 (scrollPane)。 Object[][] results=getselect(())。 String [] booksearch = { 編號, 分類, 名稱, 作者, 譯者,出版社, 出版日期, 單價 }。 table_1 = new JTable(results,booksearch)。 (table_1)。 } class CloseActionListener implements ActionListener { // 添加關閉按鈕的事件監(jiān)聽器 public void actionPerformed(final ActionEvent e) { doDefaultCloseAction()。 } }}ame。 圖書管理員模塊 系統(tǒng)管理員的修改窗口package 。import 。public class user { private int id。 private String name。 private String sex。 private int age。 private String identityCard。 private Date workdate。 private String tel。 private int admin。 private String password。 public int getAdmin() { return admin。 } public void setAdmin(int admin) { = admin。 } public int getAge() { return age。 } public void setAge(int age) { = age。 } public int getId() { return id。 } public void setId(int id) { = id。 } public String getIdentityCard() { return identityCard。 } public void setIdentityCard(String identityCard) { = identityCard。 } public String getName() { return name。 } public void setName(String name) { = name。 } public String getPassword() { return password。 } public void setPassword(String password) { = password。 } public String getSex() { return sex。 } public void setSex(String sex) { = sex。 } public String getTel() { return tel。 } public void setTel(String tel) { = tel。 } public Date getWorkdate() { return workdate。 } public void setWorkdate(Date workdate) { = workdate。 }} 讀者借閱模塊1. 圖書歸還管理 package 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。public class BookBackIFrame extends JInternalFrame { private Operater user = ()。 private JTable table。 private JTextField operator。 private JTextField todaydate。 private JTextField fkmoney。 private JTextField ccdays。 private JTextField realdays。 private JTextField borrowdays。 private JTextField borrowDate。 private JTextField readerISBN。 private String[] columnNames = { 圖書名稱, 圖書條形碼,圖書類別,讀者姓名,讀者條形碼,借書時間,歸還時間 }。 DefaultTableModel model = new DefaultTableModel()。 SimpleDateFormat myfmt=new SimpleDateFormat(yyyyMMdd hh:mm:ss)。 private String bookISBNs=null。 private String readerISBNs=null。 private int id。 public final void add() { readerISBNs=().trim()。 List list=(readerISBNs)。 for(int i=0。i()。i++){ Back back=(Back)(i)。 id= ()。 String str[] = new String[7]。 str[0] =()。 str[1] =()。 str[2]=(().get(()+))。 str[3] =()。 str[4] =()。 str[5] =()。 str[6]=()。 (str)。 } } /** * Create the frame */ public BookBackIFrame() { super()。 setIconifiable(true)。 // 設置窗體可最小化---必須 setClosable(true)。 // 設置窗體可關閉---必須 setTitle(圖書歸還管理)。 setBounds(100, 100, 550, 480)。 final JPanel panel = new JPanel()。 (new TitledBorder(null, 基本信息, , , null, null))。 (new Dimension(0, 200))。 getContentPane().add(panel, )。 final JPanel panel_5 = new JPanel()。 final GridLayout
點擊復制文檔內(nèi)容
醫(yī)療健康相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1