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

正文內(nèi)容

java程序設計學生管理系統(tǒng)報告(編輯修改稿)

2024-11-12 08:04 本頁面
 

【文章內(nèi)容簡介】 new ActionListener() { public void actionPerformed(ActionEvent e) { dispose()。 (1)。 } })。 getContentPane().add(btnClose)。 } private void addBtnLoginActionListener() { String id = ()。 String password = new String(())。 if (()) { 精品文檔 好文檔 (this, 帳號不可為空 , 提示 , )。 return。 } else if (()) { (this, 密碼不可為空 , 提示 , )。 return。 } else { tools t = new tools()。 boolean success = false。 // TODO:數(shù)據(jù)校驗 success = (id, password)。 if (success) { // 如果數(shù)據(jù)校驗成功 顯示主界面 (this, 成功登錄 , 提示 , )。 new mainView()。 ()。 } else { num。 if (num == 0) { (this, 用戶名或者密碼錯誤!您沒有機會了 )。 (0)。 } else { (this, 用戶名或者密碼錯誤!您還有 + num+ 次機會 )。 } } } } public Dimension getPreferredSize() { return new Dimension(320, 170)。 } public void show() { Toolkit tk = ()。 Dimension screen = ()。 Dimension d = getSize()。 (( ) / 2,( ) / 2)。 // 輸入密碼后回車相當于點擊了登錄按鈕 getRootPane().setDefaultButton(btnLogin)。 ()。 setDefaultCloseOperation(DISPOSE_ON_CLOSE)。 setSize(300, 220)。 精品文檔 好文檔 ()。 } public static void main(String[] args) { DButil util = new DButil()。 ()。 login loginFrame = new login()。 (true)。 } } 系統(tǒng)主界面詳細設計 、運行效果圖 圖 登錄后系統(tǒng)界面效果圖 、主要代碼 public mainView() { super()。 setTitle(所有學生信息 )。 setBounds(350, 150, 700, 400)。 setDefaultCloseOperation()。 setVisible(true)。 final JScrollPane scrollPane = new JScrollPane()。 con = ()。 Vector tableValueV, columnNameV。// 存放列名 columnNameV = new Vector()。 (學號 )。 (名字 )。 (性別 )。 精品文檔 好文檔 (年齡 )。 tableValueV = new Vector()。 (table)。 final JPanel panel = new JPanel()。 getContentPane().add(panel, )。 (new JLabel(編號: ))。 aTextField = new JTextField(, 5)。 (aTextField)。 (new JLabel(姓名: ))。 bTextField = new JTextField(, 5)。 (bTextField)。 (new JLabel(性別: ))。 cTextField = new JTextField(, 5)。 (cTextField)。 (new JLabel(年齡: ))。 dTextField = new JTextField(, 5)。 (dTextField)。 } 學生信息增刪改模塊設計 、增加信息( 121,白娘子, M, 22)后運行效果圖如下: 圖 增加一個記錄效果圖 、主要代碼 final JButton addButton = new JButton(添加 )。 (new ActionListener() { public void actionPerformed(ActionEvent e) { 精品文檔 好文檔 userDao add = new userDaoImpl()。 user u = new user()。 ((()))。 (())。 (())。 ((()))。 (u)。 setVisible(false)。 new mainView()。 } })。 (addButton)。 、刪除信息編號為 120的學生信息后結(jié)果如下: 圖 刪除一個記錄效果圖 、主要代碼: final JButton delButton =
點擊復制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1