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

正文內(nèi)容

教室管理信息系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)課設(shè)內(nèi)容-資料下載頁(yè)

2025-09-01 09:48本頁(yè)面

【導(dǎo)讀】進(jìn)行系統(tǒng)的管理。隨著我國(guó)綜合國(guó)力的增強(qiáng),人民生活水平的提高,學(xué)校教室的設(shè)施和數(shù)量也在變好和增多。嘗試開(kāi)發(fā)一款適用于教室管理的有效的信息系統(tǒng),其容錯(cuò)性能等相對(duì)健壯,基本上能達(dá)到使用時(shí)的要求。操作系統(tǒng):裝有Java虛擬機(jī)的Windows7系統(tǒng);數(shù)據(jù)庫(kù)管理系統(tǒng):SQLServer;硬件要求:內(nèi)存2G以上,主頻以上。管理者輸入相應(yīng)的登錄名和密碼進(jìn)入相應(yīng)用戶界面??梢詫?duì)教室有關(guān)信息進(jìn)行查詢,修改,增加,刪除。關(guān)鍵字:字符型,長(zhǎng)度:1-10個(gè)字符,取值范圍:數(shù)字0-9組成;查詢結(jié)果:如圖7,圖8,圖9所示。數(shù)據(jù)庫(kù)的存放位置:C:\ProgramFiles\MicrosoftSQLServer\MSSQL\Data;存儲(chǔ)空間大?。?M左右。提供友好的用戶界面和幫助信息及配合嚴(yán)格的檢查,減少用戶出錯(cuò)機(jī)會(huì)。

  

【正文】 0。i()。i++) { Vector tem=(Vector) (i)。 if((0).equals(tNum)) { (教室編號(hào)已存在 )。 return。 } } sql=insert into ClassInfo values(39。+tNum+39。,39。+tName+39。,39。+tCourse+39。,39。 +tTitle+39。)。 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 39 頁(yè) 共 53 頁(yè) insert2Table(sql)。 ()。 return。 } })。 (new ActionListener(){ @Override public void actionPerformed(ActionEvent e) { ()。 } })。 (t1)。 (e1)。 (t2)。 (e2)。 (t3)。 (e3)。 (t4)。 (e4)。 (sure)。 (cancle)。 (warn)。 (new FlowLayout())。 (200,300)。 (550, 100)。 (false)。 (true)。 (DISPOSE_ON_CLOSE)。 }else if(name==教室使用情況 ) { JLabel remind=new JLabel(時(shí)間填寫(xiě)規(guī)范 YYYY/MM/DD/HH:MM:SS)。 t1=new JLabel( 教 室 編 號(hào) :)。 t2=new JLabel(上課開(kāi)始時(shí)間 :)。 t3=new JLabel( 結(jié) 束 時(shí) 間 :)。 t4=new JLabel( 教 師 編 號(hào) :)。 //教室編號(hào)固定不可以隨便填寫(xiě),下拉列表提供 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 40 頁(yè) 共 53 頁(yè) final JComboBox rNum。 final JComboBox tNum。 Vector tVector=(教師信息 )。 Vector rVector=(教室信息 )。 final Vector cVector=(教室使用情況 )。 ArrayList tList=new ArrayList()。 for(int i=0。i()。i++) { ( ((Vector)(i)).get(0))。 } tNum=new JComboBox(())。 final ArrayList rList=new ArrayList()。//final:固定基本類(lèi)型 for(int i=0。i()。i++) { ( ((Vector)(i)).get(0))。 } rNum=new JComboBox(())。 (new ActionListener(){ @Override public void actionPerformed(ActionEvent e) { String start=().trim()。 String end=().trim()。 if(()=0||()=0) { (信息不全規(guī)范 ( YYYY/MM/DD/HH:MM:SS) )。 return。 } if(!(isDigital(start)amp。amp。isDigital(end))) { (書(shū)寫(xiě)不規(guī)范 ( YYYY/MM/DD/HH:MM:SS) )。 return。 } start=(0,10)+ +(11)。 end=(0,10)+ +(11)。 if(checkCourse(start,end)==1)//判斷時(shí)間先后 { 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 41 頁(yè) 共 53 頁(yè) (時(shí)間 :還沒(méi)上課就下課了 ??! )。 return。 }else if(checkCourse(start,end)==0) { (提示 :上下課時(shí)間一致 ?。。。。?)。 return。 } (checkCourse(start,end))。 for(int i=0。i()。i++) { String tem1=(String) ((Vector)(i)).get(1)。 tem1=(0,10)+ +(11)。 String tem2=(String) ((Vector)(i)).get(2)。 tem2=(0,10)+ +(11)。 /* * 1. 開(kāi)始在 i課程結(jié)束之后 , 1 * 或者 * i課程開(kāi)始之前 , 1 */ int startInt=checkCourse(start,tem2)。//開(kāi)始 結(jié)束 int endInt=checkCourse(end,tem1)。//結(jié)束 開(kāi)始 if(((Vector)(i)).get(0).equals(().toString().trim()) amp。amp。!(startInt==1||endInt==1)) { (該時(shí)刻該教室已有課,請(qǐng)重新選擇 ! )。 return。 } } sql=insert into ClassRoomInfo values(39。+ ().toString().trim()+39。,39。+start+39。,39。+end+39。,39。 +().toString().trim()+39。)。 insert2Table(sql)。 ()。 return。 } })。 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 42 頁(yè) 共 53 頁(yè) (new ActionListener(){ @Override public void actionPerformed(ActionEvent e) { ()。 } })。 (t1)。 (rNum)。 (t2)。 (e2)。 (t3)。 (e3)。 (t4)。 (tNum)。 (sure)。 (cancle)。 (remind)。 (warn)。 (new FlowLayout())。 (230,300)。 (550, 100)。 (false)。 (true)。 (DISPOSE_ON_CLOSE)。 } } public void insert2Table(String sql) { Connection connection=null。 PreparedStatement ps=null。 try { ()。 connection=(jdbc:odbc:classManager, sa, songchao)。 ps=(sql)。 ()。 } catch (Exception e) { 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 43 頁(yè) 共 53 頁(yè) ()。 }finally{ try { ()。 ()。 } catch (SQLException e) { ()。 } } } private boolean isDigital(String value) {//YYYY/MM/DD/HH:MM:SS if(()!=19){ return false。 } String tem=(0,4)。 for(int i=0。i()。i++) { char c=(i)。 if(i9||i0) { return false。 } } if((4)!=39。/39。) { return false。 } tem=(5,7)。 for(int i=0。i()。i++) { char c=(i)。 if(i9||i0) { return false。 } 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 44 頁(yè) 共 53 頁(yè) } if((7)!=39。/39。) { return false。 } tem=(8,10)。 for(int i=0。i()。i++) { char c=(i)。 if(i9||i0) { return false。 } } if((10)!=39。/39。) { return false。 } tem=(11,13)。 for(int i=0。i()。i++) { char c=(i)。 if(i9||i0) { return false。 } } if((13)!=39。:39。) { return false。 } tem=(14,16)。 for(int i=0。i()。i++) { char c=(i)。 if(i9||i0) 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 45 頁(yè) 共 53 頁(yè) { return false。 } } if((16)!=39。:39。) { return false。 } tem=(17)。 for(int i=0。i()。i++) { char c=(i)。 if(i9||i0) { return false。 } } return true。 } private int checkCourse(String start,String end)//判斷日期大小 { DateFormat df=new SimpleDateFormat(yyyy/mm/dd hh:mm:ss)。 try { Date one=(start)。 Date two=(end)。 if(()()) { return 1。//one在 two 后 }else if(()()) { return 1。//one在 two 前 }else if(()==()) { return 0。 } } catch (ParseException e) { 河北聯(lián)合大學(xué)課程設(shè)計(jì) 第 46 頁(yè) 共 53 頁(yè) ()。 } return 100。 } } package 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 public class Delete extends JDialog { private String sql。 public Delete(Frame arg0, String arg1, boolean arg2,final Vector v,final String name) { super(arg0, arg1, arg2)。 JLabel content=new JLabel(提示:是 否 刪 除 ? )。 JButton sure=new JButton(確定 )。 (new ActionListener(){ @Override public void actionPerformed(ActionEvent e) { if(name==教師信息 ) { sql=
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1