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

正文內(nèi)容

java課程設計---基于java的在線評測系統(tǒng)的設計與開發(fā)-文庫吧在線文庫

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

下一頁面
  

【正文】 將是更深刻的。import 。 //考試界面 ExamFrame examFrame=new ExamFrame()。 (entityContext)。import 。import 。 ExamService examService。 = loginFrame。 } public void login(){ User u。 } catch (IdOrPwdException e1) { (loginFrame, ())。 startTime()。 long h=time/1000/60/60。 send()。 curQuestion=preQuestion。 } public void saveUserAnswer(){ int curIndex=()。 } public void setWeleWindow(WeleWindow weleWindow) { = weleWindow。 } public void setExamService(ExamService examService) { = examService。 }}WeleWindow類代碼:package 。public class WeleWindow extends JWindow{ int width=430。 ImageIcon icon=new ImageIcon(url)。import .*。 ClientContext clientContext。 } //創(chuàng)建主面板 public JPanel createContentPane(){ JPanel p = new JPanel(new BorderLayout())。 return p。 (,idTextField)。 JButton loginBtn=new JButton(登錄)。 (loginBtn)。 } public ClientContext getClientContext() { return clientContext。import 。 int height=350。 setDefaultCloseOperation()。 (, new JLabel(達內(nèi)科技如有雷同,純屬巧合,))。 URL url=()。 (createExitBtn())。 ()。 ()。 ()。 ()。 } public RuleFrame getRuleFrame() { return ruleFrame。import 。 } if(().equals(userPwd)){ //登錄成功 return u。 for (int level = 1。 QuestionInfo qi=new QuestionInfo(q, index++)。 } } return score。import 。public class EntityContext { MapInteger, User users= new HashMapInteger, User()。// 0 登錄成功 1 查無此人 2 密碼錯誤 String line。 User u=new User(txtId, txtName, txtPwd, txtPhone, txtEmail)。 } Question q=parseQuestion(line,br)。 } } public Question parseQuestion(String line,BufferedReader br) throws IOException{ //line answer=2/3,score=5,level=5 String[] lineDatas=([,][az]+=)。//A String optionB=()。//需要完成Question類 (content)。//將題庫中答案以“/”分割成單獨元素 ListInteger answer=new ArrayListInteger()。 } /**public static void main(String[] args) { MapInteger, User users= new HashMapInteger, User()。 User user=(1002)。import 。public class RuleFrame extends JFrame{ RuleFrame ruleFrame。 centerFrame()。 try { br = new BufferedReader( new InputStreamReader( new FileInputStream(questionTxt)))。 //(menuFrame, line)。 (q)。public class Question {// int index。 } public void setContent(String content) { = content。 } public void setAnswer(ListInteger answer) { = answer。 int index。 } public ListInteger getUserAnswer() { return userAnswer。 } return questionStr。 = name。 } public String getPwd() { return pwd。 } public IdOrPwdException(String message) { super(message)。 } public String getEmail() { return 。 } public int getId() { return id。 String pwd。 ListString options=()。 } public Question getQ() { return q。 }}QuestionInfo類代碼:package 。 } public void setScore(int score) { = score。 int level。 } public JTextArea getJ() { return j。 j=new JTextArea(tfasdha)。 } try{ str=str+line+\n+\n。 Dimension d=()。 int height=200。import 。import 。 ((), u1)。 } public MapInteger, User getUsers() { return users。 (answer)。 (optionB)。 String content=()。 }else{ //如果level 在map中不存在 ListQuestion value =new ArrayListQuestion()。 BufferedReader br。 String txtName=lines[1]。 } public void initUser(){ // 加載到users集合中 File userTxt=new File()。import 。 } public ListQuestionInfo getPaper() { return paper。 ()。 //每個級別隨機取兩題 for (int i = 0。// (q)。 ListQuestionInfo paper。import 。 (()/2, ()/2)。 JButton exitBtn=new JButton(離開, icon)。 JButton ruleBtn=new JButton(考試規(guī)則, icon)。 JButton scoreBtn=new JButton(分數(shù), icon)。 JButton startBtn=new JButton(開始, icon)。 } //創(chuàng)建中間面板“下” 部分的四個按鈕(開始、分數(shù)、考試規(guī)則、離開) 面板 public JPanel createBtnsPane(){ JPanel p=new JPanel(new FlowLayout())。 (,userInfoLab)。 //給窗體設置主面板 (createContentPane())。 //構(gòu)造方法 public MenuFrame(){ //調(diào)用初始化方法init(),完成窗體的初始化(給窗體設置相關屬性) init()。import 。import 。 Dimension d=()。 (new ActionListener() { Override public void actionPerformed(ActionEvent e) { (idTextField)。 pwdField=new JPasswordField()。 return p。 (,createCenterPane())。 } //方法 //給窗體初始化 public void init(){ setTitle(title)。import 。 } public void centerWindow(){ Toolkit tk=()。 centerWindow()。import 。 } public JTextField getIdTextField() { return idTextField。 } public void setMenuFrame(MenuFrame menuFrame) { = menuFrame。 return。 (examFrame, 分數(shù): +score)。 curQuestion=nextQuestion。 (timeStr)。 long startTime=()。 return。 loginUser=u。 Timer timer=new Timer()。 User loginUser。public class ClientContext { //歡迎界面 WeleWindow weleWindow。import 。 (examFrame)。 (ruleFrame)。 //主類public class Main { public static void main(String[] args) { ClientContext clientContext=new ClientContext()。import 。(2)發(fā)現(xiàn)登錄見面的取消按鈕無作用。登錄界面與前臺邏輯處理截圖如圖24 圖2 登錄界面圖3 編號輸入不合法圖4 密碼錯誤 3創(chuàng)建一個MunuFrame的類,實現(xiàn)菜單面板功能的實現(xiàn),能實現(xiàn)更新用戶信息即將登錄成功的用戶信息顯示到當前界面, 開始考試, 查看分數(shù)(點擊“分數(shù)”,若還未開始,提示“考試未開啟”,若已完成考試,顯示分數(shù)結(jié)果),查看考試規(guī)則(點擊“考試規(guī)則”,顯示考試規(guī)則面板)和退出考試系統(tǒng)(點擊“離開”,退出系統(tǒng))以及
點擊復制文檔內(nèi)容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1