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

正文內(nèi)容

java商品房銷(xiāo)售中的客戶信息管理系統(tǒng)課程設(shè)計(jì)(參考版)

2025-04-10 06:04本頁(yè)面
  

【正文】 (true)。 (添加成績(jī)信息錄入界面)。 (200, 200, (), ())。 (new AddListener())。 (280, 300, 80, 30)。 (140, 300, 80, 30)。 (170, 260, 60, 30)。 (100, 260, 80, 30)。 (170, 220, 200, 30)。 (100, 220, 80, 30)。 (170, 180, 200, 30)。 (100, 180, 80, 30)。 (170, 140, 200, 30)。 (100, 140, 80, 30)。 (170, 100, 100, 30)。 (100, 100, 80, 30)。 JPanel p1 = new JPanel()。 bt1 = new JButton(添加)。 t4 = new JTextField(20)。 t2 = new JTextField(20)。 l5 = new JLabel(學(xué)分)。 l3 = new JLabel(學(xué)科)。 public ScoreAddUI(){ l1 = new JLabel(學(xué)號(hào))。 JTextField t1, t2, t3, t4, t5。import 。import .*。ScoreAddUI類(lèi)源代碼:package ui。當(dāng)單擊“添加”按鈕時(shí),通過(guò)注冊(cè)事件,在內(nèi)部類(lèi)的actionPerformed()方法中,獲取五個(gè)文本框中的信息,作為實(shí)參,并轉(zhuǎn)換成相應(yīng)的基本數(shù)據(jù)類(lèi)型,通過(guò)ScoreDao類(lèi)的addScore()方法,將數(shù)據(jù)寫(xiě)入數(shù)據(jù)庫(kù)的score表中。 }}執(zhí)行截圖如下:(10)ScoreAddUI類(lèi):此類(lèi)為添加學(xué)生成績(jī)信息界面類(lèi),在此界面中有五個(gè)標(biāo)簽,五個(gè)文本框,還有兩個(gè)按鈕“添加”“退出”。 } } } class CloseListener implements ActionListener{ public void actionPerformed(ActionEvent e) { dispose()。 ()。 boolean issuccess = (sname)。// 匿名類(lèi)結(jié)束 } class DeleteListener implements ActionListener{ public void actionPerformed(ActionEvent arg0){ StudentDao oneStudentDao = new StudentDao()。 (new WindowAdapter() {// 匿名類(lèi)開(kāi)始 public void windowClosing(WindowEvent e) // 把退出窗口的語(yǔ)句寫(xiě)在本方法中 { dispose()。 (400, 400)。 (p1)。 (new CloseListener())。 (bt2)。 (bt1)。 (t1)。 (l1)。 (null)。 bt2 = new JButton(退出)。 t1 = new JTextField(20)。 JButton bt1, bt2。public class StudentDeleteUI extends JFrame{ JLabel l1。import .*。import .*。若刪除成功,提示成功,否則提示失敗。根據(jù)標(biāo)簽提示,在文本框中輸入要?jiǎng)h除成績(jī)記錄的學(xué)生姓名。 } } public static void main(String[] args) { new StudentAddUI()。 } else { (null, insert failure, 提示信息, )。 ()。 ()。 if (issuccess) { (null, insert success, 提示信息, )。 String dept = ()。 String sex = ()。 int num = (())。 } })。 (true)。 (增添新生錄入界面)。 (200, 200, (), ())。 (new AddListener())。 (280, 300, 80, 30)。 (140, 300, 80, 30)。 (170, 260, 60, 30)。 (100, 260, 80, 30)。 (170, 220, 200, 30)。 (100, 220, 80, 30)。 (170, 180, 200, 30)。 (100, 180, 80, 30)。 (170, 140, 200, 30)。 (100, 140, 80, 30)。 (170, 100, 100, 30)。 (100, 100, 80, 30)。 JPanel p1 = new JPanel()。 bt1 = new JButton(添加)。 t4 = new JTextField(24)。 t2 = new JTextField(24)。 l5 = new JLabel(系別)。 l3 = new JLabel(性別)。 public StudentAddUI() { l1 = new JLabel(學(xué)號(hào))。 JTextField t1, t2, t3, t4, t5。import 。import .*。StudentAddUI類(lèi)源代碼:package ui。當(dāng)單擊“添加”按鈕時(shí),通過(guò)注冊(cè)事件,在內(nèi)部類(lèi)的actionPerformed()方法中,獲取五個(gè)文本框中的信息,并轉(zhuǎn)換成相應(yīng)的基本數(shù)據(jù)類(lèi)型,通過(guò)StudentDao類(lèi)的addStudent()方法,將數(shù)據(jù)寫(xiě)入數(shù)據(jù)庫(kù)的student表中。 }}執(zhí)行截圖如下:(8)StudentAddUI類(lèi):此類(lèi)為添加學(xué)生基本信息界面類(lèi),在此界面中有五個(gè)標(biāo)簽,五個(gè)文本框,還有兩個(gè)按鈕“添加”“退出”。 repaint()。 } DefaultTableModel model = new DefaultTableModel(content, head)。 (())。 (())。 (())。 i++) { Vector row = new Vector()。 for (int i = 0。 (學(xué)分)。 (學(xué)科)。 (學(xué)號(hào))。 ArrayList lis = (key)。 } class RetrievalActionListener implements ActionListener{ public void actionPerformed(ActionEvent arg0) { String key = ()。 (600, 450)。 (, bottomPanel)。 (, bookScrollPane)。//給檢索按鈕注冊(cè)事件 table = new JTable()。 (, topPanel)。 (keywordText)。 (() / 2, ())。 topPanel = new JPanel()。 keywordText = new JTextField(, 20)。 public ScoreQueryUI(){ container = ()。 JScrollPane bookScrollPane。 int selectedNum。 Container container。 JButton retrievalButton。public class ScoreQueryUI extends JFrame{ JLabel selectionLabel。import 。import .*。import .*。import .*。再把查詢結(jié)構(gòu)通過(guò)Vector對(duì)象放入ArrayList類(lèi)的對(duì)象lis中,從而使檢索結(jié)果顯示在表格中。 }}執(zhí)行截圖如下:(7)ScoreQueryUI類(lèi):此類(lèi)為學(xué)生成績(jī)查詢界面類(lèi),在此界面有一個(gè)標(biāo)簽,一個(gè)文本框,一個(gè)按鈕。 repaint()。 } DefaultTableModel model = new DefaultTableModel(content, head)。 (())。 (())。 (())。 i++) { Vector row = new Vector()。 for (int i = 0。 (系別)。 (年齡)。 (學(xué)號(hào))。 ArrayList lis = (fieldSelected, key)。 } String key = ()。 case 5: fieldSelected = dept。 case 4: fieldSelected = sex。 case 3: fieldSelected = age。 case 2: fieldSelected = sname。//獲取文本信息 } } } class RetrievalActionListener implements ActionListener{ public void actionPerformed(ActionEvent event){ switch (selectedNum) { case 1: fieldSelected = num。 (true)。 (學(xué)生信息檢索查詢系統(tǒng))。 bottomPanel = new JPanel()。 bookScrollPane = new JScrollPane(table)。 (new RetrievalActionListener())。 (retrievalButton)。 (fieldComboBox)。 (() / 2, ())。 topPanel = new JPanel()。 // 下拉列表框注冊(cè)事件注冊(cè)事件 keywordText = new JTextField(, 20)。 (系別)。 (年齡)。 (學(xué)號(hào))。 fieldComboBox = new JComboBox()。 public InformationQueryUI(){ container = ()。 JScrollPane bookScrollPane。 int selectedNum。 Container container。 JButton retrievalButton。 JComboBox fieldComboBox。import 。import .*。import .*。import .*。InformationQueryUI類(lèi)源代碼:package ui。點(diǎn)擊下拉列表框時(shí),可以選擇要檢索的方式,即要檢索的屬性,單擊時(shí),通過(guò)注冊(cè)事件,在內(nèi)部類(lèi)的方法里獲取所點(diǎn)擊的屬性名稱,保存在一個(gè)String型的變量里。 } } public static void main(String[] args) { new TeacherMainUI()。 } } class AddScoreActionListener implements ActionListener{ public void actionPerformed(ActionEvent e) { new ScoreAddUI()。 } } class AddActionListener implements ActionListener{ public void actionPerformed(ActionEvent e){ new StudentAddUI()。 else if (result == 1) { } } } class QueryScoreActionListener implements ActionListener{ public void actionPerformed(ActionEvent e) { new ScoreQueryUI()。 } class ExitActionListener implements ActionListener{ public void actionPerformed(ActionEvent e) { int result = (null, 真的要推出嗎?, 提示信息, , , null)。 (deleteScoreMenuItem)。 (deleteMenuItem)。//注冊(cè)事件 (new DeleteScoreActionListener())。//注冊(cè)事件 (new DeleteActionListener())。 JMenuItem del
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1