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

正文內(nèi)容

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

2025-07-01 16:00本頁面
  

【正文】 (修改)。 JTextField txtDate=new JTextField(18)。 JLabel labScore=new JLabel(成績(jī):)。public class ModifyForm extends JFrame implements ActionListener{ JLabel labName=new JLabel(姓名:)。import .*。 }} 運(yùn)行效果: 修改數(shù)據(jù):/*修改數(shù)據(jù)*/import .*。 else if(()==mScore) new ScoreQueryForm().setVisible(true)。 else if(()==mModify) new ModifyForm().setVisible(true)。 else if(()==mAdd) new AddForm().setVisible(true)。 } public void actionPerformed(ActionEvent ae){ if(()==mExit) (0)。 setContentPane(new MyPanel())。 (this)。 (this)。 (this)。 setJMenuBar(mBar)。 (mQuery)。 (mSystem)。 (mScore)。 (mModify)。 (mAdd)。 setSize(875,583)。 JMenuBar mBar=new JMenuBar()。 JMenu mHelp=new JMenu(幫助)。 JMenuItem mName=new JMenuItem(按姓名查詢)。 JMenuItem mModify=new JMenuItem(修改)。 JMenuItem mAdd=new JMenuItem(添加)。 JMenuItem mExit=new JMenuItem(退出)。 public void paint(Graphics g){ (img,0,0,this)。import .*。三、程序代碼及運(yùn)行效果: 主類代碼:/*主類代碼*/import .*。: 本《學(xué)生成績(jī)管理系統(tǒng)》具有對(duì)學(xué)生成績(jī)進(jìn)行管理的功能。18Java程序設(shè)計(jì)一、課程設(shè)計(jì)要求:用到書上(課本或?qū)嶒?yàn)冊(cè))上的至少三個(gè)實(shí)例;用到至少兩種布局和至少四種組件;用到對(duì)話框;用到對(duì)數(shù)據(jù)庫(kù)的查詢、刪除、添加和修改;最好用到輸入輸出流;具有一定的實(shí)際意義。二、用到的實(shí)例及實(shí)際意義: 程序所用到的實(shí)例:《Java2使用教程》 P282;《Java2使用教程》 P323;《Java2使用教程》第15章所有例題均有使用作參考 P391411;在其他參考書和網(wǎng)上也有用到相關(guān)程序和代碼,并有所參考和借鑒。并于數(shù)據(jù)庫(kù)相連接,能夠?qū)W(xué)生的成績(jī)、姓名、出生日期進(jìn)行查詢、添加和刪除等,簡(jiǎn)捷方便,容易使用。import .*。class MyPanel extends JPanel{ Image img=().getImage(c:/)。 }}public class MainForm extends JFrame implements ActionListener{ JMenu mSystem=new JMenu(系統(tǒng))。 JMenu mOperate=new JMenu(數(shù)據(jù)操作)。 JMenuItem mDel=new JMenuItem(刪除)。 JMenu mQuery=new JMenu(查詢)。 JMenuItem mScore=new JMenuItem(按成績(jī)查詢)。 JMenuItem mAbout=new JMenuItem(軟件信息)。 MainForm() { super(學(xué)生成績(jī)管理系統(tǒng))。 (mExit)。 (mDel)。 (mName)。 (mAbout)。 (mOperate)。 (mHelp)。 (this)。 (this)。 (this)。 (this)。 setVisible(true)。 else if(()==mAbout) (this,學(xué)生成績(jī)管理系統(tǒng)\n\n應(yīng)用科學(xué)學(xué)院\n\n2011年4月,軟件信息,)。 else if(()==mDel) new DeleteForm().setVisible(true)。 else if(()==mName) new NameQueryForm().setVisible(true)。 } public static void main(String[] args) { new MainForm()。import .*。import .*。 JLabel labDate=new JLabel(出生日期:)。 JTextField txtName=new JTextField(20)。 JTextField txtScore=new JTextField(20)。 JButton btnCancel=new JButton(取消)。 JPanel pan=new JPanel()。 JPanel pan2=new JPanel()。 JPanel pan4=new JPanel()。 Statement sql。 ModifyForm() { super(修改數(shù)據(jù))。 (labName)。 (labDate)。 (labScore)。 (btnQuery)。 (btnCancel)。 (pan1)。 (
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1