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

正文內容

java課設學生成績管理系統(tǒng)-在線瀏覽

2024-11-08 10:59本頁面
  

【正文】 private boolean modifyData(Student student){ /* 檢查輸入的文本信息是否為空 */ private boolean checkString(String text) { } /* 檢查輸入的數(shù)字信息是否是整數(shù) */ private boolean checkInteger(String text) { } /* 清空表單信息 */ private void clearForm(JTextField[] textField){ } /* 獲取指定學號的學生信息 */ private Student selectStudent(String no){ } /* 獲取所有學生數(shù)據(jù) */ private ArrayListStudent displayDataList(){ } /* 入口方法 */ public static void main(String[] args) { } ② class Student 類中成員變量及成員方法的定義 private String no。 private int asmScore, javaScore, Score, osScore。 ArrayListStudent dataList = new ArrayListStudent()。 管理按鈕 用戶可以通過單擊鼠標來應用此按鈕的功能,當單擊之后出現(xiàn)的是以下拉菜單顯示,其中包含了錄入、修改、刪除、導出、退出。主要針對于新生信息的添加,還有在校學生信息的完善。 ③ 刪除 此功能可以實現(xiàn)對學生信息的刪除,用來適應畢業(yè)的、離校的學生信息的刪除。 ⑤ 退出 此功能實現(xiàn)的是提示用戶退出該系統(tǒng)。 ① 說明 蘭州理工大學軟件學院 Java 課程設 計 16 說明主要實現(xiàn)該系統(tǒng)的一個說明。為了保護系統(tǒng)開發(fā)者的針對于該系統(tǒng)的擁有權,保護自己的合法權益,知識產權。 此系統(tǒng)的開發(fā)使我獲得了一些珍貴的實踐經驗,也使理論水平得到了應用和強化,提高了我的實際開發(fā)能力,使理論和實踐相得益彰,相互促進。從中學到的知識我也是終生受用的。 其次,我們還要特別感謝我們的輔導老 師龐淑俠,在她的精心輔導和幫助下,我們的設計才得以順利完成。 蘭州理工大學軟件學院 Java 課程設 計 20 附 錄 源程序: package progressbardemo。 import .*。 import .*。 import .*。 /** * 當前窗體 */ private Container currentContainer = this。 /** * 標題字體 */ private Font headFont = new Font(黑體 ,18)。 /** 蘭州理工大學軟件學院 Java 課程設 計 21 * 數(shù)據(jù)模型 */ private DataTable dataModel = new DataTable()。 /** * 備注 */ private JLabel extraLabel = new JLabel()。 /** * 添加信息面板 */ private JPanel insertPanel = createInsertPanel()。 /** * 修改信息面板 */ private JPanel modifyPanel = createModifyPanel()。 (475,450)。 (false)。 ()。 /* 如果數(shù)據(jù)文件不存在則默認創(chuàng)建一個 */ if(!()){ try { new FileWriter(data)。 } /** * 創(chuàng)建菜單欄 */ private void createMenu(){ JMenuBar menubar = new JMenuBar()。 (manageMenu)。 (helpMenu)。 JMenuItem m_manage = new JMenuItem(查看 )。 JMenuItem m_export = new JMenuItem(導出 )。 (m_add)。 (m_manage)。 (m_export)。 (m_exit)。 JMenuItem m_copy = new JMenuItem(版權 )。 ()。 /* 為添加菜單項注冊監(jiān)聽器,使點擊該菜單項時添加學生成績數(shù)據(jù) */ (new ActionListener(){ public void actionPerformed(ActionEvent e) { resetPanel(insertPanel)。 /* 為修改菜單項注冊監(jiān)聽器,使點擊該菜單項時修改學生成績數(shù)據(jù) */ (new ActionListener(){ public void actionPerformed(ActionEvent e) { resetPanel(modifyPanel)。 /* 為管理菜單項注冊監(jiān)聽器,使點擊該菜單項時顯示學生成績列表 */ (new ActionListener(){ public void actionPerformed(ActionEvent e) { resetPanel(displayPanel)。 /* 為導出菜單項注冊監(jiān)聽器,使點擊該菜單項時復制現(xiàn)有數(shù)據(jù)到指定文件 */ (new ActionListener(){ public void actionPerformed(ActionEvent e) { /* 彈出保存文件對話框供選取要保存的文件及位置 */ JFileChooser chooser = new JFileChooser()。 if(choose==){ /* 調用導出數(shù)據(jù)到文件方法 */ 蘭州理工大學軟件學院 Java 課程設 計 24 boolean flag = exportData(())。 }else{ (currentContainer, 無法導出到指定文件! ,導出失敗,)。 /* 為退出菜單項注冊監(jiān)聽器,使點擊該菜單項時退出程序 */ (new ActionListener(){ public void actionPerformed(ActionEvent e) { (0)。 /* 為說明菜單項注冊監(jiān)聽器,使點擊該菜單項時彈出程序說明窗口 */ (new ActionListener(){ public void actionPerformed(ActionEvent e) { (currentContainer, 沒有任何說明…… ,幫助信息 ,)。 /* 為版權菜單項注冊監(jiān)聽器,使點擊該菜單項時彈出版權信息窗口 */ (new ActionListener(){ public void actionPerformed(ActionEvent e) { (currentContainer, 小組成員: \n + 12700331 劉坤 ,版權信息 ,)。 /* 設置菜單欄 */ (menubar)。 ().removeAll()。 } ().add(panel)。 } /** * 創(chuàng)建歡迎面板 * return 歡迎面板 */ private JPanel createWelePanel(){ JPanel panel = new JPanel()。 (headFont)。 (true)。 } /** * 創(chuàng)建添加信息面板 * return 添加信息面板 */ private JPanel createInsertPanel(){ 蘭州理工大學軟件學院 Java 課程設 計 26 JPanel panel = new JPanel()。 (true)。 (headFont)。 (175, 25, 120
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1