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

正文內(nèi)容

圖書(shū)管理系統(tǒng)的設(shè)計(jì)_數(shù)據(jù)庫(kù)課程設(shè)計(jì)報(bào)告-閱讀頁(yè)

2024-09-18 00:02本頁(yè)面
  

【正文】 管理。 (11) 聯(lián)系“分類”對(duì)應(yīng)的關(guān)系模式如下: 分類(操作員編碼,圖書(shū)類別編碼) 設(shè)計(jì)用戶子模式 為倉(cāng)庫(kù)部門(mén)建立視圖: 圖書(shū)訂購(gòu):{ 圖書(shū)條形碼、操作員編碼 、訂購(gòu)數(shù)量、是否驗(yàn)收} 訂購(gòu)部門(mén)看不到圖書(shū)的折扣和訂購(gòu)日期,只要知道自己需要知道的數(shù)量和訂購(gòu)部門(mén)有沒(méi)有驗(yàn)收這批貨物即可。 確定數(shù)據(jù)的存放位置 將表和索引放在不同的磁盤(pán)上,在查詢時(shí),由于磁盤(pán)驅(qū)動(dòng)器并行工作,可以提高物理 I/O讀寫(xiě)的效率,也可以將比較大的表分放在兩個(gè)磁盤(pán)上,以加快存取速度,這在多用戶環(huán)境下特別有效;還可以將日志文件與數(shù)據(jù)庫(kù)對(duì)象(表、索引等)放在不同的磁盤(pán)上,以改進(jìn)系統(tǒng)的性能。這些參數(shù)值都可以影響存取時(shí)間和存儲(chǔ)空間的分配,在物理設(shè) 計(jì)時(shí)就要根據(jù)應(yīng)用環(huán)境確定這些參數(shù)值,以使系統(tǒng)性能最佳。 ( 1) 登錄類 BookLoginIFrame public class BookLoginIFrame extends JFrame { private class BookResetAction implements ActionListener { public void actionPerformed(final ActionEvent e){ ()。 } } public static int m=0。//驗(yàn)證身份 if (() != null) {//存在該用戶 user = ((), ())。 } user = ((), ())。 } try { Library frame = new Library()。 (false)。 } } else { (null, 該用戶不存在或密碼錯(cuò)誤! )。 ()。 private JTextField username。 private JButton reset。 public BookLoginIFrame() { super()。 setDefaultCloseOperation()。 getContentPane().setLayout(borderLayout)。 setBounds(100, 100, 285, 194)。 (new BorderLayout())。 getContentPane().add(panel)。 final GridLayout gridLayout = new GridLayout(0, 2)。 (20)。 (panel_2)。 ()。 (new Dimension(0, 0))。 (用 戶 名: )。 (new Dimension(0, 0))。 final JLabel label_1 = new JLabel()。 (label_1)。 password = new JPasswordField(20)。 (39。)。 } })。 final JPanel panel_1 = new JPanel()。 login=new JButton()。 (登錄 )。 reset=new JButton()。 (重置 )。 final JLabel tupianLabel = new JLabel()。 (loginIcon)。 ()。 (tupianLabel, )。 setResizable(false)。 } public static void setUser(Operater user) { = user。 public static void main(String[] args) { try { (UIManager .getSystemLookAndFeelClassName())。//登錄窗口 } catch (Exception ex) { ()。 } public Library() { super()。 setLocationByPlatform(true)。 setTitle(圖書(shū)館管理系統(tǒng) )。 // 調(diào)用創(chuàng)建菜單欄的方法 setJMenuBar(menuBar)。 // 調(diào)用創(chuàng)建工具欄的方法 getContentPane().add(toolBar, )。 (0, 0, 0, 0)。 // 窗體背景 (new ComponentAdapter() { public void ponentResized(final ComponentEvent e) { Dimension size = ().getSize()。 (htmlimg width= + + height= + + src=39。/html)。 (label,new Integer())。 } /** * 創(chuàng)建工具欄 * * return JToolBar */ private JToolBar createToolBar() { // 創(chuàng)建工具欄的方法 JToolBar toolBar = new JToolBar()。 (new BevelBorder())。 //ImageIcon icon=()。//添加菜單欄圖標(biāo) (icon)。 (bookAddButton)。 ImageIcon bookmodiicon=()。 (true)。 JButton bookTypeAddButton=new JButton()。//創(chuàng)建圖標(biāo)方法 (bookTypeAddicon)。 (bookTypeAddButton)。 ImageIcon bookBorrowicon=()。 (true)。 JButton bookOrderButton=new JButton()。//創(chuàng)建圖標(biāo)方法 (bookOrdericon)。 (bookOrderButton)。 ImageIcon bookCheckicon=()。 (true)。 JButton readerAddButton=new JButton()。//創(chuàng)建圖標(biāo)方法 (readerAddicon)。 (readerAddButton)。 ImageIcon readerModiAndDelicon=()。 (true)。 JButton ExitButton=new JButton()。//創(chuàng)建圖標(biāo)方法 (Exiticon)。 (ExitButton)。 } /** * 創(chuàng)建菜單欄 */ private JMenuBar createMenu() { // 創(chuàng)建菜單欄的方法 JMenuBar menuBar = new JMenuBar()。 // 初始化新 書(shū)訂購(gòu)管理菜單 (())。 ()。 } else (false)。// 初始化基礎(chǔ)數(shù)據(jù)維護(hù)菜單 (())。 ()。 JMenu bookTypeManageMItem = new JMenu(圖書(shū)類別管理 )。 ()。 ()。 31 (readerManagerMItem)。 (menu)。 ()。 } else (false)。 // 借閱管理 (())。 // 借閱 ()。 // 搜索 JMenu sysManageMenu = new JMenu()。 JMenu userManageMItem = new JMenu(用戶管理 )。//備份與還原 ()。 ()。 (backupAndrestore)。 if(==2){//最高權(quán)限時(shí)可用 (true)。 (baseMenu)。 // 添加新書(shū)訂購(gòu)管理菜單到菜單欄 (borrowManageMenu)。 // 添加系統(tǒng)維護(hù)菜單到菜單欄 return menuBar。 if(().equals(備份 )){ connect()。 } if(().equals(還原 )){ connect()。 } } } JButton backupButton,restoreButton。 Statement statement=null。 (備份 )。 } return backupButton。 (還原 )。 } return restoreButton。 String driverName。 String user。 try { prop = new ()。 33 (數(shù)據(jù)庫(kù)配置文件路徑: + path)。 (fin)。 URLName = (url)。 password = (password)。 (driver: + driverName)。 if (connection == null) connection = (URLName, user, password)。 } catch(Exception er) { path = new (config++).getAbsolutePath()。 ()。 String query。 } catch (SQLException e) { (null, 數(shù)據(jù)庫(kù)恢復(fù)失敗 !\r\n+())。 } } private void doBackup(){ try { (USE master)。 34 (null, 數(shù)據(jù)庫(kù)備份成功 )。 ()。 // 子窗體集合 public static PasswordModiAction MODIFY_PASSWORD。 // 修改用戶資料窗體動(dòng)作 public static UserAddAction USER_ADD。 // 圖書(shū)搜索窗體動(dòng)作 public static GiveBackAction GIVE_BACK。 // 圖書(shū)借閱窗體動(dòng)作 public static CheckAndAcceptNewBookAction NEWBOOK_CHECK_ACCEPT。 // 新書(shū)訂購(gòu)窗體動(dòng)作 public static BookTypeModiAction BOOKTYPE_MODIFY。 // 圖書(shū)類型添加窗體動(dòng)作 public static ReaderModiAction READER_MODIFY。 // 讀者信息添加窗體動(dòng)作 public static BookModiAction BOOK_MODIFY。 // 圖書(shū)信息添加窗體動(dòng)作 public static ExitAction EXIT。 MODIFY_PASSWORD = new PasswordModiAction()。 USER_ADD = new UserAddAction()。 GIVE_BACK = new GiveBackAction()。 NEWBOOK_CHECK_ACCEPT = new CheckAndAcceptNewBookAction()。 35 BOOKTYPE_MODIFY = new BookTypeModiAction()。 READER_MODIFY = new ReaderModiAction()。 BOOK_MODIFY = new BookModiAction()。 EXIT = new ExitAction()。 putValue(, 修改當(dāng)前用戶密碼 )。//在 “更改口令 ”提示中顯示的文字 //putValue(,())。//使動(dòng)作禁用 } public void actionPerformed(ActionEvent e) { if (!(更改密碼 )||(更改密碼).isClosed()) { GengGaiMiMa iframe=new GengGaiMiMa()。 ((更改密碼 ))。 putValue(, 修改和刪除用戶信息 )。 } public void actionPerformed(ActionEvent e) { if (!(用戶信息修改與刪除 )||(用戶信息修改與刪除 ).i
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1