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

正文內(nèi)容

一個簡單的學(xué)生成績管理信息系統(tǒng)(java)(更新版)

2024-09-11 03:56上一頁面

下一頁面
  

【正文】 ()。setTitle(查詢數(shù)據(jù) )。(oBox)。(field3)。field2=new JTextField(6)。(button2)。button1=new JButton(顯示所有信息)。JButton button1,button2,button3,button4,button5。 ()。+clas+39。temp=()。setVisible(true)。setSize(250,250)。(input6)。(input2)。input4=new JTextField(15)。 static Statement st。 } } public static void main(String[] args) { new MainFrame()。 (0,0,360,360)。 (panel,)。 (false)。 text2=new JLabel(192091班 羅斌制作)。 (new deleteActionPerformed())。 query=new JButton(查詢數(shù)據(jù))。public class MainFrame extends JFrame{JButton insert,query,delete,modify。實踐過程中遇到了很多困難,比如沒學(xué)過數(shù)據(jù)庫,SQL 語句不熟,對eclipse 的使用很生疏等,因此花費了很多時間在前期準(zhǔn)備工作上。 功能需求 存儲學(xué)生學(xué)號、姓名、班級,語文、數(shù)學(xué)、英語成績等信息,實現(xiàn)數(shù)據(jù)庫的讀取與存入,數(shù)據(jù)項的記錄與修改,刪除等。3. 格式文本表示各種表。3. 能夠?qū)崿F(xiàn)學(xué)生信息的插入、刪除和修改。? QUERY 類設(shè)計 功能組件 5 個按鈕、三個單行文本組件、1 個下拉框、1 個多行文本 功能實現(xiàn) 按學(xué)號查詢、按姓名查詢、按班級查詢、按課程查詢、顯示全部 實現(xiàn)過程 對按鈕添加監(jiān)控,共有五個監(jiān)控事件,前三個實現(xiàn)按鈕事件為先獲取文本域中的信息,根據(jù)對應(yīng)查詢的要求執(zhí)行相應(yīng)的 SQL 的 SELLECT 語句;按課程查詢通過在下來框中選擇對應(yīng)的選項,即查詢相應(yīng)的課程;第五個查詢按鈕將全部信息在多行文本框中輸出。但總體上主要功能是實現(xiàn)了的,并且美化了一下主界面。JLabel text1,text2,picture=new JLabel(img)。 modify=new JButton(修改數(shù)據(jù))。 Container contentPane=()。 (insert)。 (text2,)。 Dimension screenSize = ()。 (true)。import .*。 st=()。JPanel panel=new JPanel()。(new JLabel(語文 ),)。Container container=getContentPane()。 int screenWidth = 。String clas=().trim()。}else{String sql=insert into ScoreInfo(ID,name,class,Chinese,English,Maths) values(39。 (, 數(shù)據(jù)添加成功, 提示對話框,1)。import .*。static Statement st。 (new BorderLayout())。(true)。(panel)。String items[]={請選擇,語文 ,英語, 數(shù)學(xué)}。panel=new JPanel()。 Toolkit kit = ()。}class Mysql1 implements ActionListener{public void actionPerformed(ActionEvent e){try{String sql=select * from ScoreInfo。((5)+ )。(序號 學(xué)號 姓名 班級 語文 英語 數(shù)學(xué)+\n )。}}catch(Exception ee){}}}class Mysql3 implements ActionListener{public void actionPerformed(ActionEvent e){try{String ss=().trim()。((3)+ )。ResultSet rs=(sql)。((6)+ )。()。(+i+ +(1)+ )。public class Modify extends JFrame{JTextField input1,input2,input3,input4,input5,input6。public Modify(){input1=new JTextField(15)。(new JLabel(學(xué)號 ))。(new JLabel(英語 ))。(button,)。 int height = ()。int chinese=(temp)。,class=39。 ()。import .*。 public Delete(){JPanel p=new JPanel()。(new Mysql())。 int screenHeight = 。}class Mysql implements ActionListener{public void actionPerformed(ActionEvent ee) {try{()。ResultSet rs=(sql)。 (學(xué)號:+number+\n姓名: +name+\n班級:+clas+\n語文+chinese+ \n英 語 +english+\n數(shù)學(xué) +math)。 } } } }
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1