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

正文內容

java學生信息管理系統(tǒng)方案-閱讀頁

2025-05-20 23:07本頁面
  

【正文】 new DB()。 JTextField snoText = null。 JComboBox sex = null。 JComboBox class = null。 public void init() { // 窗體設計 (null)。 (500, 400)。 (180, 20, 200, 30)。 JLabel snoLabel = new JLabel(學號)。 (20, 60, 40, 25)。 (snoLabel)。 JLabel snameLabel = new JLabel(姓名)。 (220, 60, 40, 25)。 (snameLabel)。 JLabel sexlabel = new JLabel(性別)。 sex = new JComboBox(sex)。 (60, 90, 120, 25)。 (sex)。 ageText = new JTextField()。 (260, 90, 120, 25)。 (ageText)。 String[] classes = { 信息081, 信息082, 物流081 }。 (20, 120, 40, 25)。 (classlabel)。 JLabel departlabel = new JLabel(學院)。 depart = new JComboBox(depart)。 (260, 120, 120, 25)。 (depart)。 (150, 180, 60, 30)。 (addbtn)。 (230, 180, 60, 30)。 (backbtn)。 // 使窗體居中 (false)。 // 設置窗體可見 //()。 String sno = ()。 // 獲取姓名 String sex = (String) ()。 // 獲取年齡 String className = (String) ()。 // 獲取學院 // 封裝信息 (sno)。 (sex)。 (className)。 return stu。 ()。 boolean b = (stu, conn)。 } else { (null, 學號已存在,數(shù)據(jù)錄入失??!)。 ()。import 。import 。import 。import 。import 。import 。import 。//刪除學生信息public class DelStuInfo extends JFrame { StudentDao studao = new StudentDao()。 Connection conn = ()。 public void init() { // 窗體設計 (null)。 (500, 400)。 (180, 20, 200, 30)。 // 選擇學號 JLabel snoLabel = new JLabel(請選擇要刪除學生信息的學號)。 (snoLabel)。 sno = new JComboBox(vec)。 } catch (SQLException e) { ()。 // 刪除數(shù)據(jù) JButton delbtn = new JButton(刪除)。 (new delAction())。 // 返回 JButton backbtn = new JButton(返回)。 (new BackAction ())。 (null)。// 固定窗體大小 (true)。 // 窗體關閉時,程序結束 } public static void main(String[] args) { DelteStudent delstu = new DelteStudent()。 } // 刪除的監(jiān)聽器 class delAction implements ActionListener { public void actionPerformed(ActionEvent e) { String delsno = (String) ()。 if (b) { (null, 刪除錄入成功!)。 } } } class BackAction implements ActionListener{ public void actionPerformed(ActionEvent e) { MainFrame m=new MainFrame ()。 } }}package 。import 。import 。import 。import 。import 。import 。import 。import 。 DB db = new DB()。 JTextField snameText = null。 JTextField ageText = null。 JComboBox depart = null。 public void init() { // 窗體設計 (null)。 (500, 400)。 (180, 20, 200, 30)。 JLabel snoLabel = new JLabel(學號)。 (snoLabel)。 sno = new JComboBox(vec)。 } catch (SQLException e) { ()。 JLabel snameLabel = new JLabel(姓名)。 (220, 60, 40, 25)。 (snameLabel)。 JLabel sexlabel = new JLabel(性別)。 sex = new JComboBox(sex)。 (60, 90, 120, 25)。 (sex)。 ageText = new JTextField()。 (260, 90, 120, 25)。 (ageText)。 String[] classes = { 信息081, 信息082, 物流081 }。 (20, 120, 40, 25)。 (classlabel)。 JLabel departlabel = new JLabel(學院)。 depart = new JComboBox(depart)。 (260, 120, 120, 25)。 (depart)。 (150, 180, 60, 30)。 (editbtn)。 (220, 180, 60, 30)。 (backbtn)。 // 使窗體居中 (false)。 // 設置窗體可見 // ()。 String sno = (String) ()。 // 獲取姓名 String sex = (String) ()。 // 獲取年齡 String className = (String) ()。 // 獲取學院 // 封裝信息 (sno)。 (sex)。 (className)。 return stu。 ()。 boolean b = ((), (), (), (), (), (), conn)。 } else { (null, 數(shù)據(jù)修改失??!)。 ()。是狼就要練好牙,是羊就要練好腿。不奮斗就是每天都很容易,可一年一年越來越難。拼一個春夏秋冬!贏一個無悔人生!早安!—————獻給所有努力的人.
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1