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

正文內(nèi)容

烏龜爬游戲(java)和學(xué)生成績管理系統(tǒng)(mysql)課設(shè)-閱讀頁

2024-10-03 22:25本頁面
  

【正文】 stener{ public void actionPerformed(ActionEvent e){ new Query().setVisible(true)。} } public class deleteActionPerformed implements ActionListener{ public void actionPerformed(ActionEvent e){ new Delete().setVisible(true)。} } ? insert 代碼 package test1。 import .*。 import .*。 JLabel label1,label2,label3,label4,label5。 static Statement st。 Connection con=(jdbc: st=()。}} ResultSet rs。 input2=new JTextField(15)。 input4=new JTextField(15)。 input6=new JTextField(15)。 (new GridLayout(6,2))。 計(jì)算機(jī) 2020 級《 程序語言綜合 課程設(shè)計(jì)》報(bào)告 22 (input1)。 (input2)。 (input3)。 (input4)。 (input5)。 (input6)。 (new mysql())。 (panel,)。 setTitle(添加數(shù)據(jù)窗口 )。 setSize(250,250)。 Dimension screenSize = ()。 int screenHeight = 。 int width = ()。 setVisible(true)。 String name=().trim()。 String temp=()。 temp=()。 temp=()。 if(()|()| ()|()){ (,請重新輸入 ,提示對話框,1)。 Connection con = (jdbc: String sql=insert into ScoreInfo(ID,name,class,Chinese,English,Maths) values(+ number+,39。,39。,+chinese+,+english+,+maths+)。 (sql)。 ()。 ()。 ()。 計(jì)算機(jī) 2020 級《 程序語言綜合 課程設(shè)計(jì)》報(bào)告 23 } } catch(Exception ee) {(,插入失敗 ,提示對話框 ,1)。 import .*。 import .*。 import .*。 JButton button1,button2,button3,button4,button5。 JComboBox oBox。 static{ try{()。 st=()。}} ResultSet rs。 button1=new JButton(顯示所有信息 )。 Container container=getContentPane()。 JPanel panel=new JPanel()。 button2=new JButton(按學(xué)號查詢 )。 (button2)。 (field1)。 (panel)。 (new Mysql3())。 field2=new JTextField(6)。 (true)。 String items[]={ 請 選擇 , 語文 , 英語 , 數(shù)學(xué) }。 button5=new JButton(按課程名稱查詢 )。 (button5)。 (true)。 panel=new JPanel()。 (mainpanel,)。 (new JScrollPane(show),)。 setDefaultCloseOperation()。 Toolkit kit = ()。 int screenWidth = 。 int height = ()。 setLocation(screenWidthwidth/2, screenHeightheight/2)。 /*try{()。 s=()。 ()。 while(()) { ((1)+ )。 ((3)+ )。 ((5)+ )。 ((7)+\n)。 } } } class Mysql2 implements ActionListener { 計(jì)算機(jī) 2020 級《 程序語言綜合 課程設(shè)計(jì)》報(bào)告 25 public void actionPerformed(ActionEvent e) { try {String ss=().trim()。+ss+39。 ()。 while(()) { ((1)+ )。 ((3)+)。 ((5)+ )。 ((7)+\n)。 String sql=select * from ScoreInfo where name=39。 ResultSet rs=(sql)。 (序號 學(xué)號 姓名 班級 語文 英語 數(shù)學(xué) +\n)。 ((2)+)。 ((4)+)。 ((6)+ )。 } } catch(Exception ee){} } } class Mysql4 implements ActionListener { public void actionPerformed(ActionEvent e) { try { String sql=。 if((語文 )) { sql=select ID,name,class,Chinese from ScoreInfo 。 (序號 學(xué)號 姓名 班級 語文 +\n)。 ()。 } 計(jì)算機(jī) 2020 級《 程序語言綜合 課程設(shè)計(jì)》報(bào)告 26 else if((數(shù)學(xué) )) { sql=select ID,name,class,Maths from ScoreInfo 。 (序號 學(xué)號 姓名 班級 數(shù)學(xué) +\n)。int i=0。 (+i+ +(1)+ )。 ((3)+ )。 } } catch(Exception ee){} } }} ? Modify 代碼 package test1。 import .*。 import .*。 JLabel label1,label2,label3,label4,label5。 static Statement st。 Connection con=(jdbc: st=()。}} ResultSet rs。 input2=new JTextField(15)。 input4=new JTextField(15)。 input6=new JTextField(15)。 (new GridLayout(6,2))。 (input1)。 (input2)。 (input3)。 (input4)。 (input5)。 (input6)。 (new mysql())。 (panel,)。 setTitle(修改數(shù)據(jù)窗口 )。 setSize(300,150)。 Dimension screenSize = ()。 int screenHeight = 。 int width = ()。 setVisible(true)。 String name=().trim()。 String temp=()。 temp=()。 temp=()。 if(()) { (,學(xué)號不能為空! ,提示對話框,1)。+name+39。+clas+39。+number+39。 (, 數(shù)據(jù)修改成功 ,提示對話框計(jì)算機(jī) 2020 級《 程序語言綜合 課程設(shè)計(jì)》報(bào)告 28 ,1)。 ()。 ()。 ()。 (ee)。}}}} ? delete 代碼 package test1。 import .*。 import .*。 JTextField input。 Connection con。 public Delete() { JPanel p=new JPanel()。 input= new JTextField(10)。 (new JLabel(輸入要?jiǎng)h除的學(xué)號 ))。 (search)。 (new Mysql())。 add(p,)。 setSize(400,150)。 Dimension screenSize = ()。 int screenHeight = 。 int width = ()。 setVisible(true)。 addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e) { dispose()。 } class Mysql implements ActionListener { public void actionPerformed(ActionEvent ee) { try{()。} try{ Stringss=().trim()。 String sql=select * from ScoreInfo where ID=39。 st=()。 (sql)。 String name=(name)。 int chinese=(Chinese)。 int math=(Maths)。 (學(xué)號: +number+\n 姓名: +name+\n 班級: +clas+\n語文 +chinese+\n 英語 +english+\n 數(shù)學(xué) +math)。 sql=delete from ScoreInfo where ID=39。 (sql)。 } catch(SQLException e) { //(無此條記錄 )。} } }}}
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1