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

正文內(nèi)容

java課程設(shè)計(jì)---基于java的在線(xiàn)評(píng)測(cè)系統(tǒng)的設(shè)計(jì)與開(kāi)發(fā)-文庫(kù)吧資料

2024-11-25 23:06本頁(yè)面
  

【正文】 { ()。 ImageIcon icon=new ImageIcon(url)。 return startBtn。 ()。 (new ActionListener() { public void actionPerformed(ActionEvent e) { ()。 ImageIcon icon=new ImageIcon(url)。 return p。 (createRuleBtn())。 (createStartBtn())。 return imageLabel。 ImageIcon icon=new ImageIcon(url)。 } //創(chuàng)建中間面板 “上” 部分的圖片標(biāo)簽 public JLabel createImageLabel(){ JLabel imageLabel=new JLabel()。 (,createBtnsPane())。 userInfoLab=new JLabel(歡迎: XXX 參與無(wú)與倫比的賽事! ,)。 return p。 (,createCenterPane())。 } //創(chuàng)建主面板 (上 中 下 ) public JPanel createContentPane(){ JPanel p=new JPanel(new BorderLayout())。 } } })。 (new WindowAdapter() { Override public void windowClosing(WindowEvent e) { int val=(null, 確定離開(kāi) ?)。 centerFrame()。 } //方法 //初始化窗體 public void init(){ //給窗體設(shè)置標(biāo)題 (title)。 RuleFrame ruleFrame。 JLabel userInfoLab。 int width=580。 import .*。 import 。 import 。 import 。 import 。 import 。 } public void setClientContext(ClientContext clientContext) { = clientContext。 } public String getUserPwd(){ return new String(())。 (()/2, ()/2)。 } public void centerFrame(){ Toolkit tk=()。 (cancelBtn)。 } })。 (pwdField)。 JButton cancelBtn=new JButton(取消 )。 (new ActionListener() { Override public void actionPerformed(ActionEvent e) { ()。 } //創(chuàng)建主面板的底部面板 public JPanel createBottomPane(){ JPanel p = new JPanel()。 (,pwdField)。 (,new JLabel(密碼: ))。 return p。 idTextField=new JTextField()。 } 28 //創(chuàng)建編號(hào)面板 public JPanel createIdPane(){ JPanel p = new JPanel(new BorderLayout())。 (createPwdPane())。 } //創(chuàng)建編號(hào)、密碼面板 public JPanel createIdPwdPane(){ JPanel p = new JPanel(new GridLayout(2,1,0,10))。 (,createIdPwdPane())。 return p。 (,new JLabel(登錄系統(tǒng) ,))。//主面板 (new EmptyBorder(8,8,8,8))。 setContentPane(createContentPane())。//給窗體設(shè)置標(biāo)題 setSize(width, height)。 //構(gòu)造方法 (初始化對(duì)象 ) public LoginFrame(){ //給該窗體初始化 init()。 JTextField idTextField。 int height=200。 /** * 描述一個(gè)登錄窗體對(duì)象 * */ public class LoginFrame extends JFrame{ //屬性 27 String title=登錄界面 。 import 。 import 。 } } LoginFrame類(lèi)代碼 : package 。 Dimension screen=()。 return p。 (new LineBorder())。 URL url=()。 setContentPane(createContentPane())。 } public void init(){ setSize(width, height)。 int height=300。 import 。 import 。 import 。 import 。 } public void setPwdField(JPasswordField pwdField) { = pwdField。 } public void setIdTextField(JTextField idTextField) { = idTextField。 (null)。 } public void menuFrameexit() { (false)。 } public ExamService getExamService() { return examService。 } public ExamFrame getExamFrame() { return examFrame。 } public MenuFrame getMenuFrame() { return menuFrame。 } public LoginFrame getLoginFrame() { return loginFrame。 } public WeleWindow getWeleWindow() { return weleWindow。 } (menuFrame, 分?jǐn)?shù) : +score)。 } public void getScore(){ if(!finish){ 24 (menuFrame, 考試尚未開(kāi)啟! )。 ListInteger userAnswer=()。 //考試已結(jié)束的狀態(tài) finish=true。 (false)。 score=()。 (loginUser, curQuestion)。//點(diǎn)擊上一題,保存答案 QuestionInfo preQuestion=(()1)。 (loginUser, curQuestion)。//點(diǎn)擊下一題按鈕,保存答案 QuestionInfo nextQuestion=(()+1)。//考試時(shí)間到,自動(dòng)保存 } },new Date(endTime))。 (examFrame, 考試時(shí)間到! )。 } }, 0,1000)。 String timeStr=h+:+m+:+s。 long m=time/1000/60。 (new TimerTask() { public void run() { long time=()。 final long endTime=startTime+timeLimit。 } public void startTime(){ long timeLimit=1000*60*1。//點(diǎn)擊開(kāi)始考試按鈕,同時(shí)進(jìn)行到計(jì)時(shí) (false)。 (loginUser,curQuestion)。//返回 結(jié)束當(dāng)前方法體 } ()。 } } public void startExam(){ // if(finish){ (menuFrame, 考試已結(jié)束! )。 } catch (NumberFormatException e2) { (loginFrame, 請(qǐng)輸入整數(shù) 編號(hào)! )。 (true)。//登錄成功 將登錄的用戶(hù)賦值給 loginUser (false)。 u = (userId,userPwd)。 try { int userId=()。 } }, 2020)。 (new TimerTask() {//延時(shí)兩秒后歡迎界面消失,登錄界面出現(xiàn) public void run() { (false)。 } /** * 開(kāi)始考試,首先進(jìn)入歡迎界面 和 登錄界面 * */ public void start(){ (true)。 = menuFrame。 //構(gòu)造方法 public ClientContext(){} public ClientContext(WeleWindow weleWindow, LoginFrame loginFrame, MenuFrame menuFrame, ExamFrame examFrame) { = weleWindow。 boolean finish=false。 21 JPasswordField pwdField。 QuestionInfo curQuestion。 //考試界面 ExamFrame examFrame。//null //登錄界面 LoginFrame loginFrame。 import 。 import 。 import 。 import 。 import 。 import 。 } } ClientContext類(lèi)代碼 : package 。 (examService)。 (menuFrame)。 20 (weleWindow)。 (clientContext)。 (clientContext)。 //考試規(guī)則界面 RuleFrame ruleFrame=new RuleFrame()。 ExamService examService=new ExamService()。 //菜單界面 MenuFrame menuFrame=new MenuFrame()。 //歡迎界面 WeleWindow weleWindow=new WeleWindow()。 import 。 import 。 import 。 import 。 指導(dǎo)教師評(píng)語(yǔ): 成績(jī)?cè)u(píng)定: 簽名: 2020 年 6 月 30 日 19 附錄 1 源代碼 Main 類(lèi)代碼: package 。 18 10 答辯 設(shè)計(jì)過(guò)程及答辯回答問(wèn)題記載: 的特點(diǎn) 答: 封裝 ,繼承 ,多態(tài) ,面向?qū)ο? ? 答: 首先通過(guò)類(lèi)名 .(帶格式圖片名 )獲得圖片路徑url,然后通過(guò) new ImageIcon( url)創(chuàng)建對(duì)象,然后將該對(duì)象添加到所需的控件上。 怎么說(shuō)呢 ,達(dá)內(nèi)的老師講課方法新穎 ,很有吸引力 ,我十分喜歡這種方式 ,在這種氛圍下學(xué)習(xí)我很有激情 . 再說(shuō)說(shuō)我的感想吧 ,錯(cuò)誤 ,是啊 ,不斷的錯(cuò)不斷
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1