/*
* Created by JFormDesigner on Sun Apr 18 14:18:36 CST 2021
*/
/*
* Created by JFormDesigner on Tue Apr 27 20:51:02 CST 2021
*/
package Student;
import Database.option;
import Database.subject;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
/**
* @author 1
*/
public class Student_examing extends JFrame implements ActionListener,Runnable{
MyPanel mp=null;
boolean b=false;
//JScrollPane scrollPane11=new JScrollPane();
JEditorPane editorPane1=new JEditorPane();
JEditorPane editorPane2=new JEditorPane();
JEditorPane editorPane3=new JEditorPane();
JEditorPane editorPane4=new JEditorPane();
JEditorPane editorPane5=new JEditorPane();
JEditorPane editorPane6=new JEditorPane();
JEditorPane editorPane7=new JEditorPane();
JEditorPane editorPane8=new JEditorPane();
JEditorPane editorPane9=new JEditorPane();
JEditorPane editorPane10=new JEditorPane();
public static void main(String[] args)
{
Student_examing student_examing=new Student_examing();
Thread th1=new Thread(student_examing);
th1.start();
}
public Student_examing() {
initComponents();
this.setTitle("考试");
this.setVisible(true);
panel1.setSize(40,100);
this.setSize(1000,800);
button1.addActionListener(this);
button1.setActionCommand("交卷");
this.setLocation(100,10);
this.setIconImage(new ImageIcon("src/Picture/教育2.png").getImage());
}
@Override
public void actionPerformed(ActionEvent e) {
if(e.getActionCommand().equals("交卷"))
{
this.dispose();
b=true;
System.out.println("成功");
SendUp sd=new SendUp();
}
}
@Override
public void run() {
mp=new MyPanel();
panel1.add(mp);
while(b==false) {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
mp.run();
if(mp.isLive()==false)
{
b=true;
System.out.println("倒计时成功");
SendUp sd=new SendUp();
}
if(b==true) {
this.dispose();
}
}
}
private void initComponents() {
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
button1 = new JButton();
panel1 = new JPanel();
scrollPane1 = new JScrollPane();
panel2 = new JPanel();
label24 = new JLabel();
panel3 = new JPanel();
label1 = new JLabel();
radioButton1 = new JRadioButton();
radioButton2 = new JRadioButton();
radioButton3 = new JRadioButton();
radioButton4 = new JRadioButton();
panel4 = new JPanel();
label2 = new JLabel();
radioButton5 = new JRadioButton();
radioButton6 = new JRadioButton();
radioButton7 = new JRadioButton();
radioButton8 = new JRadioButton();
panel5 = new JPanel();
label3 = new JLabel();
radioButton9 = new JRadioButton();
radioButton10 = new JRadioButton();
radioButton11 = new JRadioButton();
radioButton12 = new JRadioButton();
panel6 = new JPanel();
label4 = new JLabel();
radioButton13 = new JRadioButton();
radioButton14 = new JRadioButton();
radioButton15 = new JRadioButton();
radioButton16 = new JRadioButton();
panel7 = new JPanel();
label5 = new JLabel();
radioButton17 = new JRadioButton();
radioButton18 = new JRadioButton();
radioButton19 = new JRadioButton();
radioButton20 = new JRadioButton();
panel8 = new JPanel();
label6 = new JLabel();
radioButton21 = new JRadioButton();
radioButton22 = new JRadioButton();
radioButton23 = new JRadioButton();
radioButton24 = new JRadioButton();
panel9 = new JPanel();
label7 = new JLabel();
radioButton25 = new JRadioButton();
radioButton26 = new JRadioButton();
radioButton27 = new JRadioButton();
radioButton28 = new JRadioButton();
panel10 = new JPanel();
label8 = new JLabel();
radioButton29 = new JRadioButton();
radioButton30 = new JRadioButton();
radioButton31 = new JRadioButton();
radioButton32 = new JRadioButton();
panel11 = new JPanel();
label9 = new JLabel();
radioButton33 = new JRadioButton();
radioButton34 = new JRadioButton();
radioButton35 = new JRadioButton();
radioButton36 = new JRadioButton();
panel12 = new JPanel();
label10 = new JLabel();
radioButton37 = new JRadioButton();
radioButton38 = new JRadioButton();
radioButton39 = new JRadioButton();
radioButton40 = new JRadioButton();
label25 = new JLabel();
panel13 = new JPanel();
label11 = new JLabel();
scrollPane2 = new JScrollPane();
textArea1 = new JTextArea();
panel14 = new JPanel();
label12 = new JLabel();
scrollPane3 = new JScrollPane();
textArea2 = new JTextArea();
panel15 = new JPanel();
label13 = new JLabel();
scrollPane4 = new JScrollPane();
textArea3 = new JTextArea();
panel16 = new JPanel();
label14 = new JLabel();
scrollPane5 = new JScrollPane();
textArea4 = new JTextArea();
panel17 = new JPanel();
label15 = new JLabel();
scrollPane6 = new JScrollPane();
textArea5 = new JTextArea();
//======== this ========
var contentPane = getContentPane();
contentPane.setLayout(new BorderLayout());
//---- button1 ----
button1.setText("\u4ea4\u5377");
contentPane.add(button1, BorderLayout.SOUTH);
//======== panel1 ========
{
panel1.setLayout(new BoxLayout(panel1, BoxLayout.Y_AXIS));
}
contentPane.add(panel1, BorderLayout.NORTH);
//======== scrollPane1 ========
{
//======== panel2 ========
{
panel2.setLayout(new BoxLayout(panel2, BoxLayout.Y_AXIS));
//---- label24 ----
label24.setText("\u4e00\u3001\u5ba2\u89c2\u9898");
panel2.add(label24);
//======== panel3 ========
{
panel3.setLayout(new BoxLayout(panel3, BoxLayout.Y_AXIS));
//---- label1 ----
label1.setText("text");
panel3.add(label1);
//---- radioButton1 ----
radioButton1.setText("text");
panel3.add(radioButton1);
//---- radioButton2 ----
radioButton2.setText("text");
panel3.add(radioButton2);
//---- radioButton3 ----
radioButton3.setText("text");
panel3.add(radioButton3);
//---- radioButton4 ----
radioButton4.setText("text");
panel3.add(radioButton4);
}
panel2.add(panel3);
//======== panel4 ========
{
panel4.setLayout(new BoxLayout(panel4, BoxLayout.Y_AXIS));
//---- label2 ----
label2.setText("text");
panel4.add(label2);
//---- radioButton
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
用java编写学生在线考试平台 (201个子文件)
Student_examing.class 15KB
Teacher_retain.class 9KB
Change_tk1.class 8KB
Test_paper.class 7KB
Change_tk.class 6KB
option.class 6KB
Create_request.class 6KB
Teacher_mark.class 6KB
Register_main.class 6KB
Check_review.class 5KB
subject.class 5KB
Login_s.class 4KB
Answer.class 4KB
ServerThread.class 4KB
PersonalCenter_t.class 4KB
Student_review.class 4KB
PersonalCenter_s.class 4KB
Login_t.class 4KB
Test_person.class 4KB
Teacher_view.class 3KB
Login.class 3KB
ClientFrame.class 3KB
Teacher_create.class 3KB
Number.class 3KB
EchoServer.class 3KB
Teacher_main.class 3KB
Student_main.class 3KB
Student_exam.class 3KB
set_name.class 3KB
OpScore.class 3KB
set_num.class 3KB
Test_change1.class 2KB
please_register.class 2KB
Form.class 2KB
isExist.class 2KB
DAO_login.class 2KB
set_pass.class 2KB
Test_person1.class 2KB
im_password.class 2KB
Success.class 2KB
EchoClient.class 2KB
BaseDao.class 2KB
Student_scan.class 2KB
SimpleClient.class 2KB
clientThread.class 2KB
SQL_zhuru.class 2KB
SendSuccess.class 2KB
SendUp.class 2KB
SuccessInsert.class 2KB
textPaper.class 2KB
JdbcUtils.class 2KB
myClient.class 2KB
DAO_register.class 2KB
Race.class 2KB
Allscore.class 2KB
ser_data_update_s.class 2KB
ser_data_update_t.class 2KB
ser_data_select_t.class 2KB
ser_data_select_s.class 2KB
Student.class 2KB
SimpleServer.class 2KB
MyPanel.class 2KB
Sum_score.class 2KB
Option.class 2KB
testInsert.class 2KB
myServer.class 2KB
Test_change2.class 2KB
testSelect.class 2KB
testUpdate.class 2KB
ser_data_delete_t.class 2KB
ser_data_delete_s.class 2KB
Student_paper.class 2KB
TestSelect.class 2KB
testDelete.class 2KB
ser_data_insert_t.class 1KB
ser_data_insert_s.class 1KB
TestInsert.class 1KB
Text_thread02.class 1KB
TestUpdate.class 1KB
TestDelete.class 1KB
Random_paper.class 1KB
Text_thread01.class 1KB
demo.class 1KB
Teacher.class 1KB
RequestTypes.class 996B
text_type.class 969B
Myscore.class 899B
stu_check.class 832B
Teacher_view$xueshneg.class 550B
Subject.class 257B
.gitignore 50B
ExamPlatform.iml 591B
mysql-connector-java-5.1.44-bin.jar 976KB
miglayout-core-javadoc.jar 185KB
miglayout-core.jar 104KB
miglayout-core-sources.jar 100KB
miglayout-swing-javadoc.jar 44KB
miglayout-swing.jar 22KB
miglayout-swing-sources.jar 15KB
Student_examing.java 31KB
共 201 条
- 1
- 2
- 3
大大胡萝卜
- 粉丝: 22
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 抽取地下水对加州约塞米蒂国家公园山地湿地复合体可持续性的影响
- C++vector介绍及详细使用示例(源代码)
- java基于GUI的简单记事本
- 指纹识别-基于OpenCV实现的指纹识别算法-附项目源码.zip
- 206693250008_R01C02_Grn.idat
- 瞳孔跟踪-基于OpenCV+网络摄像头的瞳孔跟踪算法实现-附项目源码+流程教程-优质项目分享.zip
- ModStartCMS v8.4.0 框架稳定性持续迭代,修复部分已知问题
- bleder 教室学校学生教育室办公室考试
- 人脸检测-使用OpenCV实现的动漫+漫画人脸检测算法-附项目源码-优质项目实战.zip
- 道路贴图,材质材料免费
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0