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

正文內(nèi)容

java課程設(shè)計---基于java的在線評測系統(tǒng)的設(shè)計與開發(fā)(完整版)

2025-02-23 12:49上一頁面

下一頁面
  

【正文】 點擊關(guān)閉窗體有提示信息等功能。上下翻題:點擊“上一題”“下一題”,可隨意翻閱題目信息,無上一題或下一題是按鈕無效。 更新用戶信息:將登錄成功的用戶信息顯示到當前界面。分數(shù)顯示:查看分數(shù)或者交卷時,將計算出的分數(shù)顯示到當前面板中。退出考試系統(tǒng):點擊“離開”,退出系統(tǒng)。該系統(tǒng)主要包括:用戶登錄、菜單選擇、開始考試、分數(shù)統(tǒng)計四個功能模塊。開始考試:點擊“開始”,關(guān)閉當前界面,顯示考試界面??荚嚨褂嫊r:考試開始后,面板顯示考試時間倒計時,時長為20分鐘。 獲取登錄信息:獲取客戶端輸入用戶ID和用戶密碼pwd。 裝載用戶信息:現(xiàn)在用戶身份、考試科目等相關(guān)信息。6系統(tǒng)總體設(shè)計方案 1歡迎登陸界面的創(chuàng)建; 2登陸界面模塊創(chuàng)建和劃分; 3 菜單界面的創(chuàng)建與其作用實現(xiàn); 4 考試規(guī)則界面創(chuàng)建; 5考試界面的創(chuàng)建和劃分; 1用戶的名字、密碼和編號都能夠在菜單界面和考試界面中顯示出來; 2系統(tǒng)能隨機在題庫中所給的十個級別題目中每個級別中抽出兩個題目構(gòu)成一套試 卷; 3考試完后用戶可通過交卷或查分能夠看到成績; 4 考試界面有個倒計時來限制答題時間,時間到,系統(tǒng)自動交卷和保 存。 if(val==){ ()。10答辯設(shè)計過程及答辯回答問題記載: 答:封裝,繼承,多態(tài) ,面向?qū)ο??答?帶格式圖片名)獲得圖片路徑url,然后通過new ImageIcon(url)創(chuàng)建對象,然后將該對象添加到所需的控件上。import 。 ExamService examService=new ExamService()。 (weleWindow)。import 。import 。 QuestionInfo curQuestion。 = menuFrame。 try { int userId=()。 } catch (NumberFormatException e2) { (loginFrame, 請輸入整數(shù) 編號!)。//點擊開始考試按鈕,同時進行到計時 (false)。 long m=time/1000/60。//考試時間到,自動保存 } },new Date(endTime))。 (loginUser, curQuestion)。 ListInteger userAnswer=()。 } public LoginFrame getLoginFrame() { return loginFrame。 } public void menuFrameexit() { (false)。import 。 int height=300。 (new LineBorder())。import 。 JTextField idTextField。//主面板 (new EmptyBorder(8,8,8,8))。 } //創(chuàng)建編號、密碼面板 public JPanel createIdPwdPane(){ JPanel p = new JPanel(new GridLayout(2,1,0,10))。 return p。 (new ActionListener() { Override public void actionPerformed(ActionEvent e) { ()。 (cancelBtn)。 } public void setClientContext(ClientContext clientContext) { = clientContext。import 。 JLabel userInfoLab。 (new WindowAdapter() { Override public void windowClosing(WindowEvent e) { int val=(null, 確定離開?)。 return p。 ImageIcon icon=new ImageIcon(url)。 return p。 return startBtn。 return scoreBtn。 return ruleBtn。 return exitBtn。 } public void setRuleFrame(RuleFrame ruleFrame) { = ruleFrame。import 。 } throw new IdOrPwdException(密碼錯誤!)。 level = 10。 (qi)。 } public QuestionInfo findQuestionByIndex(int index){ return (index1)。import 。// 7個User對象Set List Map,級別為鍵,正行信息為值 MapInteger, ListQuestion questions= new HashMapInteger, ListQuestion()。 while((line=())!=null){ if(() || ()){ continue。 (txtId, u)。//每題要讀取六行 int level=()。//{,2/3,5,5} ListInteger answer=parseAnswer(lineDatas[1])。//B String optionC=()。// (options)。 for(String ans : answerStr){ ((ans))。 User u1=new User(1001, zhangsan, 1234, 314234134, 2341)。 (())。import 。 JTextArea j。 setContentPane(createContentPane())。 String line。 } catch (Exception e) { ()。 return p。 String content。 } public ListString getOptions() { return options。 } public int getType() { return type。 ListInteger userAnswer=new ArrayListInteger()。 } public void setUserAnswer(ListInteger userAnswer) { = userAnswer。 }} User類代碼:package 。 = pwd。 } public void setPwd(String pwd) { = pwd。 } public IdOrPwdException(Throwable cause) { super(cause)。 } public void setPhone(String phone) { = phone。 = 。 String name。 questionStr+=index+. +()+\n。 = index。 } Override public String toString() { return 題干:+content +選項: +(0)+\n +(1)+\n +(2)+\n +(3)+\n +分數(shù):+score +級別:+level。 } public int getScore() { return score。 int score。 } public void setRuleFrame(RuleFrame ruleFrame) { = ruleFrame。 JScrollPane q=new JScrollPane()。 while((line=())!=null){ if(() || ()){ continue。 } private void centerFrame() { Toolkit tk=()。 int width=300。import 。import 。 User u3=new User(1003, wangwu, 1234, 314234134, 2341)。 } public User getUserByUserId(int userId){ return (userId)。 (level)。//D (optionA)。//5 int level=(lineDatas[3])。 (q)。 } } public void initQuestion(){ File questionTxt=new File()。 int txtId=(lines[0])。 initQuestion()。import 。 } public void setEntityContext(EntityContext entityContext) { = entityContext。 ListInteger lastUserAns=()。 Random random=new Random()。// for (QuestionInfo q:paper) {// (*************)。public class ExamService { EntityContext entityContext。import 。 Dimension d=()。 ImageIcon icon=new ImageIcon(url)。 ImageIcon icon=new ImageIcon(url)。 ImageIcon icon=new ImageIcon(url)。 ImageIcon icon=new ImageIcon(url)。 return imageLabel。 userInfoLab=new JLabel(歡迎:XXX 參與無與倫比的賽事!,)。 } } })。 RuleFrame ruleFrame。import 。import 。 } public void centerFrame(){ Toolkit tk=()。 JButton cancelBtn=new JButton(取消)。 (,new JLabel(密碼:))。 (createPwdPane())。 (,new JLabel(登錄系統(tǒng),))。 //構(gòu)造方法(初始化對象) public LoginFrame(){ //給該窗體初始化 init()。import 。 return p。 } public void init(){ setSize(width, height)。import 。 (null)。 } public MenuFrame getMenuFrame() { return menuFrame。 } public void getScore(){ if(!finish){ (menuFrame, 考試尚未開啟!)。 score=()。//點擊下一題按鈕,保存答案 QuestionInfo nextQuestion=(()+1)。 String timeStr=h+:+m+:+s。 } public void startTime(){ long time
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1