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

正文內(nèi)容

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

2025-01-21 21:25 本頁面
 

【文章內(nèi)容簡介】 String sortStr=select * from studentinfo order by +colum+ asc。 rs=(sortStr)。 return rs。 } : 18 public class Add extends JFrame implements ActionListener{ JLabel jlb1, jlb2, jlb3, jlb4, jlb5, jlb6。 JTextField jtf1, jtf2, jtf3, jtf4, jtf5, jtf6。 JButton jb1, jb2。 static String id。 String stuClass。 String name。 double subject1。 double subject2。 double subject3。 String averScore。 Student stu。 Add() { stu=new Student()。 setTitle(插入學(xué)生成績 )。 setLayout(new FlowLayout())。 jlb1 = new JLabel(學(xué)號: )。 jtf1 = new JTextField(15)。 (this)。 jlb2 = new JLabel(班級: )。 jtf2 = new JTextField(15)。 (this)。 jlb3 = new JLabel(姓名: )。 jtf3 = new JTextField(15)。 (this)。 jlb4 = new JLabel(科目 1分?jǐn)?shù): )。 jtf4 = new JTextField(15)。 (this)。 jlb5 = new JLabel(科目二分?jǐn)?shù): )。 jtf5 = new JTextField(15)。 (this)。 jlb6 = new JLabel(科目三分?jǐn)?shù): )。 jtf6 = new JTextField(15)。 (this)。 jb1 = new JButton(確定 )。 (this)。 jb2 = new JButton(返回 )。 (this)。 add(jlb1)。 add(jtf1)。 add(jlb2)。 add(jtf2)。 add(jlb3)。 add(jtf3)。 19 add(jlb4)。 add(jtf4)。 add(jlb5)。 add(jtf5)。 add(jlb6)。 add(jtf6)。 add(jb1)。 add(jb2)。 (500, 100, 230, 450)。 (true)。 validate()。 setDefaultCloseOperation()。 } public void actionPerformed(ActionEvent e) { if(()==jtf1){ id=().trim()。 } if(()==jtf2){ stuClass=().trim()。 } if(()==jtf3){ name=().trim()。 } if(()==jtf4){ subject1=(().trim())。 } if(()==jtf5){ subject2=(().trim())。 } if(()==jtf6){ subject3=(().trim())。 } if(()==jb1){ try { (this, 是否進(jìn)行添加操作! )。 averScore= +(subject1+subject2+subject3)/3。 (id, stuClass,name,subject1,subject2,subject3,averScore)。 dispose()。 } catch (Exception e1) { // TODO Autogenerated catch block (this,您輸入的信息有誤,請重新輸入! )。 } } if(()==jb2){ 20 dispose()。 } } } : public class Delete extends JFrame implements ActionListener{ JLabel jlb1。 JTextField jtf。 JButton jb1,jb2。 static String id。 Student stu。 Delete(){ setTitle(刪除學(xué)生成績 )。 setLayout(new FlowLayout())。 stu=new Student()。 jlb1=new JLabel(請輸入該學(xué)生的學(xué)號: )。 jtf=new JTextField(15)。 (this)。 jb1=new JButton(確定 )。 (this)。 jb2=new JButton(返回 )。 (this)。 add(jlb1)。 add(jtf)。 add(jb1)。 add(jb2)。 (500, 150, 250, 150)。 (true)。 validate()。 setDefaultCloseOperation()。 } public void actionPerformed(ActionEvent e) { // TODO Autogenerated method stub if(()==jtf){ id=().trim()。 } if(()==jb1){ int i。 (this, 是否進(jìn)行刪除操作! )。 try{ 21 i=(id)。 if(0==i){ (this,該系統(tǒng)中無此信息,請重新輸入!)。 (null)。 }else{ ()。 ()。 ()。 dispose()。 } }catch(Exception e1){ (this,您輸入的信息有 誤,請重新輸入! )。 (null)。 } } if(()==jb2){ dispose()。 } } } : public class Select extends JFrame implements ActionListener{ JLabel jlb1。 JTextField jtf。 JButton jb1,jb2。 Student stu。 static String id。 ResultSet rs。 Select(){ stu=new Student()。 setTitle(查詢學(xué)生成績 )。 setLayout(new FlowLayout())。 jlb1=new JLabel(請輸入該學(xué)生的學(xué)號: )。 jtf=new JTextField(15)。 (this)。 jb1=new JButton(確定 )。 (this)。 jb2=new JButton(返回 )。 (this)。 add(jlb1)。 add(jtf)。 add(jb1)。 22 add(jb2)。 (500, 150, 250, 150)。 (true)。 validate()。 setDefaultCloseOperation()。 } public void actionPerformed(ActionEvent e) { // TODO Autogenerated method stub if(()==jtf){ id=().trim()。 } if(()==jb1){ (this, 是否進(jìn)行查詢操作! )。 try{ rs=(id)。 if(()){ ()。 ()。 ()。 dispose()。 new ShowStu()。 }else{ (this,該系統(tǒng)中無此信息,請重新輸入!)。 (null)。 } } catch (Exception e2) { // TODO Autogenerated catch block (this,輸入信息錯(cuò)誤,請重新輸入! )。 (null)。 } } if(()==jb2){ dispose()。 } } } : public class Update extends JFrame implements ActionListener { JLabel jlb1。 JTextField jtf。 23 JButton jb1, jb2。 static String id。 Student stu。 ResultSet rs。 Update() { stu = new Student()。 setTitle(修改學(xué)生成績 )。 setLayout(new FlowLayout())。 jlb1 = new JLabel(請輸入該學(xué)生的學(xué)號: )。 jtf = new JTextField(15)。 (this)。 jb1 = new JButton(確定 )。 (this)。 jb2 = new JButton(返回 )。 (this)。 add(jlb1)。 add(jtf)。 add(jb1)。 add(jb2)。 (500, 150, 250, 150)。 (true)。 validate()。 setDefaultCloseOperation()。 } public void actionPerformed(ActionEvent e) { // TODO Autogenerated method stub if (() == jtf) { id = ().trim()。 } if (() == jb1) { try { rs = (id)。 if (()) { (this, 是否進(jìn)行修改操作! )。 dispose()。 new UpdateInput()。 } else { (this,該系統(tǒng)中無此信息,請重新輸入!)。 (null)。 } 24 } catch (Exception e1) { (this, 您輸入的信息有誤,請重新輸入! )。 (null)。 } } if (() == jb2) { dispose()。 } } } : public class ShowStu extends JFrame implements ActionListener { JLabel jlb1, jlb2, jlb3, jlb4, jlb5, jlb6,jlb7。 JTextField jtf1, jtf2, jtf3, jtf4, jtf5, jtf6,jtf7。 JButton jb1, jb2。 static String id。 String stuClass。 String name。 double subject1。 double subject2。 double subject3。 String averScore。 Student stu。 Resu
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1