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

正文內(nèi)容

圖書管理系統(tǒng)的設(shè)計(jì)數(shù)據(jù)庫課程設(shè)計(jì)報(bào)告(編輯修改稿)

2024-08-30 10:50 本頁面
 

【文章內(nèi)容簡介】 date datetime NOT NULL,maxNum int NOT NULL,tel varchar(50) NOT NULL,keepMoneyNOT money NULL,zj int NOT NULL,zy varchar(50) NOT NULL,readerISBN varchar(13) PRIMARY KEY NOT NULL,bztime datetime NOT NULL)(7)圖書庫存表的建立CREATE TABLE tb_stockpile(ISBN varchar(13) PRIMARY KEY NOT NULL,amount int)為提高數(shù)據(jù)輸入工作的效率和質(zhì)量,針對具體的應(yīng)用環(huán)境設(shè)計(jì)一個(gè)數(shù)據(jù)錄入子系統(tǒng),由計(jì)算機(jī)來完成數(shù)據(jù)入庫的任務(wù),與此同時(shí),還要調(diào)試應(yīng)用程序。(1)登錄類BookLoginIFramepublic class BookLoginIFrame extends JFrame { private class BookResetAction implements ActionListener { public void actionPerformed(final ActionEvent e){ ()。 ()。 } } public static int m=0。//靜態(tài)變量控制內(nèi)部窗體權(quán)限,0的權(quán)限最低,1為普通用戶權(quán)限,2為管理員權(quán)限 class BookLoginAction implements ActionListener { public void actionPerformed(final ActionEvent e) { user = ((), ())。//驗(yàn)證身份 if (() != null) {//存在該用戶 user = ((), ())。//判斷是否為管理員 if (() != null) { m=2。 } user = ((), ())。//判斷是否為普通用戶 if (() != null) { m=1。 } try { Library frame = new Library()。 (true)。 (false)。 } catch (Exception ex) { ()。 } } else { (null, 該用戶不存在或密碼錯(cuò)誤!)。// ()。 ()。 } } } private JPasswordField password。 private JTextField username。 private JButton login。 private JButton reset。 private static Operater user。 public BookLoginIFrame() { super()。 final BorderLayout borderLayout = new BorderLayout()。 setDefaultCloseOperation()。 (10)。 getContentPane().setLayout(borderLayout)。 setTitle(圖書館管理系統(tǒng)登錄)。 setBounds(100, 100, 285, 194)。 final JPanel panel = new JPanel()。 (new BorderLayout())。 (new EmptyBorder(0, 0, 0, 0))。 getContentPane().add(panel)。 final JPanel panel_2 = new JPanel()。 final GridLayout gridLayout = new GridLayout(0, 2)。 (5)。 (20)。 (gridLayout)。 (panel_2)。 final JLabel label = new JLabel()。 ()。 (new Dimension(0, 0))。 (new Dimension(0, 0))。 (label)。 (用 戶 名:)。 username = new JTextField(20)。 (new Dimension(0, 0))。 (username)。 final JLabel label_1 = new JLabel()。 ()。 (label_1)。 (密 碼:)。 password = new JPasswordField(20)。 (new MyDocument(6))。 (39。*39。)。//設(shè)置密碼框的回顯字符 (new KeyAdapter() { public void keyPressed(final KeyEvent e) { if (() == 10) ()。 } })。 (password)。 final JPanel panel_1 = new JPanel()。 (panel_1, )。 login=new JButton()。 (new BookLoginAction())。 (登錄)。 (login)。 reset=new JButton()。 (new BookResetAction())。 (重置)。 (reset)。 final JLabel tupianLabel = new JLabel()。 ImageIcon loginIcon=()。 (loginIcon)。 (true)。 ()。 (new Dimension(260, 60))。 (tupianLabel, )。 setVisible(true)。 setResizable(false)。 } public static Operater getUser() { return user。 } public static void setUser(Operater user) { = user。 }}(2)主菜單Library/** * 主窗體 * */public class Library extends JFrame implements ActionListener { private static final JDesktopPane DESKTOP_PANE = new JDesktopPane()。 public static void main(String[] args) { try { (UIManager .getSystemLookAndFeelClassName())。//設(shè)置窗體風(fēng)格 new BookLoginIFrame()。//登錄窗口 } catch (Exception ex) { ()。 } } public static void addIFame(JInternalFrame iframe) { // 添加子窗體的方法 (iframe)。 } public Library() { super()。 setDefaultCloseOperation()。 setLocationByPlatform(true)。 setSize(800, 600)。 setTitle(圖書館管理系統(tǒng))。 JMenuBar menuBar = createMenu()。 // 調(diào)用創(chuàng)建菜單欄的方法 setJMenuBar(menuBar)。 JToolBar toolBar = createToolBar()。 // 調(diào)用創(chuàng)建工具欄的方法 getContentPane().add(toolBar, )。 final JLabel label = new JLabel()。 (0, 0, 0, 0)。 (null)。 // 窗體背景 (new ComponentAdapter() { public void ponentResized(final ComponentEvent e) { Dimension size = ().getSize()。 (().getSize())。 (htmlimg width= + + height= + + src=39。 + ().getResource(/) + 39。/html)。 } })。 (label,new Integer())。 getContentPane().add(DESKTOP_PANE)。 } /** * 創(chuàng)建工具欄 * * @return JToolBar */ private JToolBar createToolBar() { // 創(chuàng)建工具欄的方法 JToolBar toolBar = new JToolBar()。 (false)。 (new BevelBorder())。 JButton bookAddButton=new JButton()。 //ImageIcon icon=()。//創(chuàng)建圖標(biāo)方法 ImageIcon icon=new ImageIcon((/))。//添加菜單欄圖標(biāo) (icon)。 (true)。 (bookAddButton)。 //在工具欄中添加圖書修改與刪除圖標(biāo) JButton bookModiAndDelButton=new JButton()。 ImageIcon bookmodiicon=()。//創(chuàng)建圖標(biāo)方法 (bookmodiicon)。 (true)。 (bookModiAndDelButton)。 JButton bookTypeAddButton=new JButton()。 ImageIcon bookTypeAddicon=()。//創(chuàng)建圖標(biāo)方法 (bookTypeAddicon)。 (true)。 (bookTypeAddButton)。 JButton bookBorrowButton=new JButton()。 ImageIcon bookBorrowicon=()。//創(chuàng)建圖標(biāo)方法 (bookBorrowicon)。 (true)。 (bookBorrowButton)。 JButton bookOrderButton=new JButton()。 ImageIcon bookOrdericon=()。//創(chuàng)建圖標(biāo)方法 (bookOrdericon)。 (true)。 (bookOrderButton)。 JButton bookCheckButton=new JButton()。 ImageIcon bookCheckicon=()。//創(chuàng)建圖標(biāo)方法 (bookCheckicon)。 (true)。 (bookCheckButton)。 JButton readerAddButton=new JButton()。 ImageIcon readerAddicon=()。//創(chuàng)建圖標(biāo)方法 (readerAddicon)。 (true)。 (readerAddButton)。 JButton readerModiAndDelButton=new JButton()。 ImageIcon readerModiAndDelicon=()。//創(chuàng)建圖標(biāo)方法 (readerModiAndDelicon)。 (true)。 (readerModiAndDelButton)。 JButton ExitButton=new JButton()。 ImageIcon Exiticon=()。//創(chuàng)建圖標(biāo)方法 (Exiticon)。 (true)。 (ExitButton)。 return toolBar。 } /** * 創(chuàng)建菜單欄 */ private JMenuBar createMenu() { //
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1