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

正文內(nèi)容

課程設(shè)計(jì)--基于java的學(xué)生成績管理系統(tǒng)(編輯修改稿)

2025-07-13 07:45 本頁面
 

【文章內(nèi)容簡介】 響應(yīng)。主要行為時(shí)判斷用戶的操作(界面事件),并將行為轉(zhuǎn)交給服務(wù)類,實(shí)現(xiàn)與用戶的交互。 teacherFrame,該類主要顯示教師成績管理系統(tǒng)的主界面,和相關(guān)時(shí)間的響應(yīng)。主要行為時(shí)判斷用戶的操作(界面事件),并將行為轉(zhuǎn)交給服務(wù)類,實(shí)現(xiàn)與用戶的交互。 客戶端服務(wù)類 StudentService ,服務(wù)器 StudentService 前者主要處理前端用戶發(fā)出任務(wù)的業(yè)務(wù)邏輯,并將指令和數(shù)據(jù)發(fā)給服務(wù)器StudentService,接受服務(wù)器送回結(jié)果。后者主要接受前者的數(shù)據(jù)和指令,并分發(fā)業(yè)務(wù),通過 model 層處理數(shù)據(jù)庫信息用戶信息并得出業(yè)務(wù) 結(jié)果,將結(jié)果返回前端。 dao 主要實(shí)現(xiàn)對(duì)數(shù)據(jù)庫的查詢刪除操作。 6 .bean 數(shù)據(jù)類 Grade , Student, Teacher, serialvector Grade 主要用于前后端傳輸成績實(shí)現(xiàn)了序列化。 Student, teacher 主要用于傳輸和封裝用戶信息 。 serialVector 主要用于封裝和批量傳輸數(shù)據(jù) 。 7. 服務(wù)器框架類 serverFrame 主要用于開啟服務(wù)器,發(fā)出關(guān)閉服務(wù)器請(qǐng)求,設(shè)置監(jiān)聽客戶端連接,并開啟新線程。 serverthread 類 主要用于處理用戶業(yè)務(wù),接受命令,接收數(shù)據(jù),分發(fā)任務(wù),到 service 層并將結(jié)果傳給客戶端。 六.系統(tǒng)實(shí)現(xiàn) 本模型系統(tǒng)采用的 MVC設(shè)計(jì)模式,分為 service 模塊, model 模塊, view 模塊。本人負(fù)責(zé) view 模塊 和 bean 中 grade serialVector student teacher client 的封裝數(shù)據(jù)類的實(shí)現(xiàn) 主要由客戶端的 界面 , 服務(wù)器端界面 ( bean 中之一 grade 和 serialVector為例) 。以下為主要代碼 (非主要方法略及實(shí)現(xiàn)代碼相似函數(shù)省略 ): 服務(wù)器端框架代碼: package serverFrame。 public class MainFrame extends JFrame implements ActionListener{ JButton start =null。 JButton end = null。 JLabel startTime = null。 JLabel currentTime = null。 static JTextArea jta = null。 StartServerThread sst = null。//處理監(jiān)聽程序 public MainFrame(){ 安徽理工大學(xué)理學(xué)院 數(shù)學(xué)專業(yè) 課程設(shè)計(jì) 7 super(成績管理服務(wù)器 )。 (new FlowLayout())。 start = new JButton(開啟服務(wù)器 )。 (this)。 end = new JButton(結(jié)束服務(wù)器 )。 (this)。 jta = new JTextArea(10,40)。 ()。 JScrollPane jsp = new JScrollPane(jta)。 currentTime = new JLabel(未開啟 )。 startTime = new JLabel(現(xiàn)在時(shí)間是: )。 (end)。 (start)。 (jsp)。 (startTime)。 (currentTime)。 // (jta)。 } public static void main(String agrgs[]) { MainFrame mainFrame = new MainFrame()。 (true)。 (100, 100, 500, 500)。 ()。 } @Override public void actionPerformed(ActionEvent e) { if(() == ) startActionDealing()。 if(() == ) endActionDealing()。 } //處理結(jié)束按鈕事件 private void endActionDealing() { if(sst==null) (服務(wù)器尚未開始服務(wù)。 \n)。 else{ (false)。 安徽理工大學(xué)理學(xué)院 數(shù)學(xué)專業(yè) 課程設(shè)計(jì) 8 // ()。 wrong (服務(wù)器結(jié)束請(qǐng)求已處理,等待中 .....\n)。 } } //處理開始服務(wù)器按鈕事件 private void startActionDealing() { //開啟新線程處理監(jiān)聽 sst= new StartServerThread()。 ()。 } public static JTextArea getJta() {……… public static void setJta(JTextArea jta) {……… public static void setJta(JTextArea jta) {……… } 登陸界面 package Frames。 public class LogInFrame extends JFrame { public String getClientType。 public LogInFrame() { super(登陸 )。 (new FlowLayout())。 LoginPanel loginPanel = new LoginPanel(this)。 (new Dimension(300,300))。 (loginPanel,)。 (true)。 (false)。 (500, 200, 400, 400)。 ()。 } } 客戶端 學(xué)生 管理界面 安徽理工
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1