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

正文內(nèi)容

基于java的學(xué)生管理系統(tǒng)源代碼-wenkub

2023-07-07 16:00:47 本頁(yè)面
 

【正文】 績(jī)表 set 出生日期=39。+()+39。 ()。 }else{ (不存在該記錄! )。 ((出生日期).toString())。+()+39。 } else if(()==btnQuery){ try{ ()。 (false)。 (this)。 (pan3)。 (btnCancel)。 (labScore)。 (labName)。 Statement sql。 JPanel pan2=new JPanel()。 JButton btnCancel=new JButton(取消)。 JTextField txtName=new JTextField(20)。import .*。 } public static void main(String[] args) { new MainForm()。 else if(()==mDel) new DeleteForm().setVisible(true)。 setVisible(true)。 (this)。 (this)。 (mOperate)。 (mName)。 (mExit)。 JMenuItem mAbout=new JMenuItem(軟件信息)。 JMenu mQuery=new JMenu(查詢)。 JMenu mOperate=new JMenu(數(shù)據(jù)操作)。class MyPanel extends JPanel{ Image img=().getImage(c:/)。并于數(shù)據(jù)庫(kù)相連接,能夠?qū)W(xué)生的成績(jī)、姓名、出生日期進(jìn)行查詢、添加和刪除等,簡(jiǎn)捷方便,容易使用。18Java程序設(shè)計(jì)一、課程設(shè)計(jì)要求:用到書上(課本或?qū)嶒?yàn)冊(cè))上的至少三個(gè)實(shí)例;用到至少兩種布局和至少四種組件;用到對(duì)話框;用到對(duì)數(shù)據(jù)庫(kù)的查詢、刪除、添加和修改;最好用到輸入輸出流;具有一定的實(shí)際意義。三、程序代碼及運(yùn)行效果: 主類代碼:/*主類代碼*/import .*。 public void paint(Graphics g){ (img,0,0,this)。 JMenuItem mAdd=new JMenuItem(添加)。 JMenuItem mName=new JMenuItem(按姓名查詢)。 JMenuBar mBar=new JMenuBar()。 (mAdd)。 (mScore)。 (mQuery)。 (this)。 (this)。 } public void actionPerformed(ActionEvent ae){ if(()==mExit) (0)。 else if(()==mModify) new ModifyForm().setVisible(true)。 }} 運(yùn)行效果: 修改數(shù)據(jù):/*修改數(shù)據(jù)*/import .*。public class ModifyForm extends JFrame implements ActionListener{ JLabel labName=new JLabel(姓名:)。 JTextField txtDate=new JTextField(18)。 JButton btnQuery=new JButton(查詢)。 JPanel pan3=new JPanel()。 ResultSet rs。 (txtName)。 (txtScore)。 (new GridLayout(3,1))。 getContentPane().add(pan,Center)。 (this)。 setVisible(true)。} catch(ClassNotFoundException e){ } try{con=(jdbc:odbc:sun,gxy,123)。)。 (true)。 (false)。 (false)。,成績(jī)=+()+ where 姓名=39。+()+39。 (記錄修改完畢!)。 ()。 }catch(SQLException e){ } } } public static void main(String[] args) { new ModifyForm()。import .*。 JTextField txtName=new JTextField(20)。 JButton btnCancel=new JButton(取消)。 JPanel pan2=new JPanel()。 Statement sql。 (labName)。 (labScore)。 (btnCancel)。 (pan3)。 (this)。 (false)。 } else if(()==btnQuery){ //實(shí)現(xiàn)查詢功能 try { ()。+()+39。 ((出生日期).toString())。 }else{ (不存在該記錄!)。 ()。+()+39。
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1