資源簡(jiǎn)介
通過(guò)Java和SQLSever所做的一個(gè)小型畢業(yè)生信息管理系統(tǒng)

代碼片段和文件信息
package?數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng);
import?java.awt.*;
import?java.awt.event.*;
import?javax.swing.*;
import?static?javax.swing.Jframe.*;
import?static?java.awt.BorderLayout.*;
public?class?Infor_alter?extends?Jframe{
JRadioButton?radioboyradiogirlradioyesradiono;
JComboBox?saddress_T;
JComboBox?sborn_Tspolitics_Tsmajor_Twtype_T;
public?Infor_alter()
{
init();
setBounds(4002001000600);
setVisible(true);
setResizable(false);
setDefaultCloseOperation(EXIT_ON_CLOSE);
}
void?init()
{
setLayout(null);
JLabel?shou=new?JLabel(“歡迎進(jìn)入畢業(yè)生信息管理系統(tǒng)“);
shou.setBounds(350060040);
int?style=Font.ITALIC;
Font?fo=new?Font(“宋體“style25);
shou.setFont(fo);
add(shouJLabel.CENTER);
JButton?input=new?JButton(“添加信息“);
input.setBounds(5015010020);
add(input);
input.addActionListener(new?ActionListener()
{
public?void?actionPerformed(ActionEvent?e)
{
setVisible(false);
Infor_input?in=new?Infor_input();
}
});
JButton?delete=new?JButton(“刪除信息“);
delete.setBounds(5020010020);
add(delete);
delete.addActionListener(new?ActionListener()
{
public?void?actionPerformed(ActionEvent?e)
{
setVisible(false);
Infor_delete?in=new?Infor_delete();
}
});
JButton?alter=new?JButton(“修改信息“);
alter.setBounds(5025010020);
add(alter);
alter.addActionListener(new?ActionListener()
{
public?void?actionPerformed(ActionEvent?e)
{
setVisible(false);
Infor_alter?in=new?Infor_alter();
}
});
JButton?seek=new?JButton(“查詢信息“);
seek.setBounds(5030010020);
add(seek);
seek.addActionListener(new?ActionListener()
{
public?void?actionPerformed(ActionEvent?e)
{
setVisible(false);
Infor_seek?in=new?Infor_seek();
}
});
JButton?admin=new?JButton(“修改密碼“);
admin.setBounds(5035010020);
add(admin);
admin.addActionListener(new?ActionListener()
{
public?void?actionPerformed(ActionEvent?e)
{
setVisible(false);
Infor_key?in=new?Infor_key();
}
});
JButton?job=new?JButton(“就業(yè)查詢“);
job.setBounds(5040010020);
add(job);
job.addActionListener(new?ActionListener()
{
public?void?actionPerformed(ActionEvent?e)
{
setVisible(false);
Seek_job?in=new?Seek_job();
}
});
JButton?line1=new?JButton(““);
line1.setBounds(050100020);
line1.setEnabled(false);
line1.setBackground(Color.gray);
add(line1);
JButton?line2=new?JButton(““);
line2.setBounds(2007020550);
line2.setEnabled(false);
line2.setBackground(Color.gray);
add(line2);
//基本信息表格的建立
JLabel?sno_L=new?JLabel(“學(xué)號(hào):“);
sno_L.setBounds(2801005030);
add(sno_L);
JTextField?sno_T=new?JTextField();
sno_T.setBounds(33010015030);
add(sno_T);
JLabel?sname_L=new?JLabel(“姓名:“);
sname_L.setBounds(2801505030);
add(sname_L);
JTextField?sname_T=new?JTextField();
sname_T.setBounds(33015015030);
add(sname_T);
JLabel?ssex_L=new?JLabel(“性別:“);
ssex_L.setBounds(2802005030);
add(ssex_L);
?radioboy=new
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-07-01?01:12??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\
?????文件???????13419??2016-06-30?23:48??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Infor_alter.java
?????文件????????3184??2016-06-30?23:48??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Infor_delete.java
?????文件???????13671??2016-06-30?23:48??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Infor_input.java
?????文件????????3729??2016-06-30?23:48??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Infor_key.java
?????文件????????2384??2016-07-01?00:02??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Infor_key_stu.java
?????文件????????7643??2016-06-30?23:50??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Infor_seek.java
?????文件???????10066??2016-06-30?23:34??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Jdbc_li
?????文件????????2644??2016-06-30?23:48??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Menu.java
?????文件????????6088??2016-07-01?00:02??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Menu_stu.java
?????文件????????4889??2016-06-30?23:48??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Seek_job.java
?????文件????????3241??2016-06-30?23:58??數(shù)據(jù)庫(kù)畢業(yè)生信息管理系統(tǒng)\Start.java
評(píng)論
共有 條評(píng)論