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

正文內容

課程設計報告--學生選課管理系統(tǒng)-文庫吧資料

2025-03-29 12:22本頁面
  

【正文】 )。 ((20))。 ((40))。 (b5)。 (new JLabel(所在院系:))。 (new JLabel(教師職稱:))。 (new JLabel(教師生日:))。 (new JLabel(教師性別:))。 (new JLabel(教師姓名:))。 (new JLabel(教職工號:))。 (mm)。 (r2)。 JPanel pp1=new JPanel(), pp2=new JPanel(), pp3=new JPanel(), pp4=new JPanel(), pp5=new JPanel(), pp6=new JPanel(), pp7=new JPanel(), psex=new JPanel(), pbirth=new JPanel()。 } ()。//更新表格,顯示向量vect的內容 ()。 (rec_vector)。 ((5))。 ((3))。//從結果集中取數(shù)據(jù)放入向量rec_vector中 ((1))。 (p1)。 (this)。 (vector2,vectorColName2)。 (職稱)。 (教師性別)。 (教師編號)。 String sql=exec ProcAllTea。 SqlManager DBm=()。 JPanel p2=new JPanel()。 } private JPanel createTeaPanel() { JPanel p=new JPanel()。 (p2)。 (boxright)。 (boxleft)。 ((20))。 ((20))。 ((20))。 ((20))。 ((20))。 ((30))。 (b3)。 (new JLabel(所在班級:))。 (new JLabel(學生生日:))。 (new JLabel(學生性別:))。 (new JLabel(學生姓名:))。 (new JLabel(學生編號:))。 (month)。 (radio2)。 JPanel pp1=new JPanel(), pp2=new JPanel(), pp3=new JPanel(), pp4=new JPanel(), pp5=new JPanel(), pp6=new JPanel(), psex=new JPanel(), pbirth=new JPanel()。 } ()。//向量rec_vector加入向量vect中 } ()。 ((5))。 ((3))。//從結果集中取數(shù)據(jù)放入向量rec_vector中 ((1))。 (p1)。 (this)。 (vector1,vectorColName1)。 (生日)。 (姓名)。 ResultSet rs=(sql)。//單態(tài)模式獲取實例 ()。 (new GridLayout(2,1))。 JScrollPane p1。 add(pCenter,)。 (教師信息管理,p2)。 p2=createTeaPanel()。 (card)。 pCenter=new JPanel()。 (b1)。 (this)。 (this)。 (this)。 b6=new JButton(刪除)。 b4=new JButton(刪除)。 b2=new JButton(教師信息管理)。 (this)。 (this)。 (this)。i=31。i++) (i)。 for(int i=1。i1995。i++) (i)。 for(int i=1。i=12。i++) (i)。 for(int i=1980。 (副教授)。 (助教)。 dd=new JComboBox()。 yy=new JComboBox()。 month=new JComboBox()。 (r2)。 (radio2)。 tt3=new JTextField(10)。 tt1=new JTextField(10)。 t2=new JTextField(10)。 AdmPanel() { setLayout(new BorderLayout())。 DefaultTableModel model2=new DefaultTableModel(vectorColName2,0){ public boolean isCellEditable(int row, int column) { return false。 DefaultTableModel model1=new DefaultTableModel(vectorColName1,0){ public boolean isCellEditable(int row, int column) { return false。 Vector vectorColName1=new Vector(), vectorColName2=new Vector()。 JComboBox year,month,date,yy,mm,dd,post。 JRadioButton radio1=new JRadioButton(男,true), radio2=new JRadioButton(女)。 JTextField t1=new JTextField(10), t2=new JTextField(10), t3=new JTextField(10), tt1=new JTextField(10), tt2=new JTextField(10), tt3=new JTextField(10)。 JPanel p1,p2,pCenter。原本我們是想用jsp 做一個web應用程序的,因為對于學生選課系統(tǒng)做成單版的確實沒什么實用性,但是我對jsp還不太熟悉,所以這次先做個單機版的,以后我會嘗試用jsp來做這個系統(tǒng)。TableCellRenderer可以看做是Swing組件的呈現(xiàn)器,這樣Table就會把內容顯示繪制交給JCheckBox了。(dtm)。 }}六、課程設計體會該系統(tǒng)主要實現(xiàn)了學生選課的功能,這個系統(tǒng)是我們小組獨立完成,從需求分析,界面的搭建,到數(shù)據(jù)庫的連接,表格,存儲過程和存儲過程等的建立,在這段時間的摸索中,我們確實學到了很多東西,特別是對以前不太了解的Java Swing組件有了更深刻的了解。 } public static void main(String args[]){ ().connectDB()。 }catch(SQLException ex){ (executeQuery:+())。 } public ResultSet executeQuery(String sql){ ResultSet rs=null。 }catch(SQLException ex) { (executeUpdate:+())。 } public int executeUpdate(String sql){ int ret=0。 }catch(SQLException ex){ (closeDB:+())。 ()。 } (SqlManager:Connect to database successful.)。 Sqlstmt=()。 } } public void connectDB(){ try{ (SqlManager:Connecting to database...)。 }catch(Exception ex){ (Can39。 (jdbcDriver)。 } private String getString(String s) { return (s)。 ()。 } } } }catch(Exception e){ ()。 strCon=jdbc:microsoft:sqlserver://+DBhost+:+DBport+。 strCon=jdbc:oracle:thin:+DBhost+:+DBport+:+DBname。 strCon=jdbc:mysql://+DBhost+:+DBport+/+DBname。 =database_type。 else if(().equals(unix)) split=:。 String system_type=getString(systemtype)。 =getString(DBuser)。 =getString(DBname)。 private SqlManager(){ try{ bundle=new PropertyResourceBundle(. getResourceAsStream(/))。 private Statement Sqlstmt=null。 private String DBpassword=。 private String DBport=。 private String DBhost=localhost。 private static String split=null。 private PropertyResourceBundle bundle。import 。s typedatabasetype=sqlserverspecify some parametersDBhost=localhostDBport=1433DBname=StudentManagerDBuser=saDBpassword=l 封裝數(shù)據(jù)庫操作的類:import .*。字段名數(shù)據(jù)類型長度主鍵否是否為空描述StudentIDChar10主鍵不為空學生學號StudentNameChar10不為空學生姓名StudentSexChar2不為空學生性別StudentBirthdayDatetime8學生生日Classchar16所在班級TeacherTable1(教師信息表) 用來儲存教師的基本信息字段名數(shù)據(jù)類型長度主鍵否是否為空描述TeacherIDChar10主鍵不為空教師編號TeacherNameChar10不為空教師姓名TeacherSexChar2不為空教師性別TeacherBirthdayDatetime8
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1