学生管理系统的页面图片素材-图书馆管理系统图片素材哪里有,界面,按钮图标等
想在java学生管理系统的登陆界面添加背景图片,但不知在什么地方添加代码?

1、在Body中添加
<html>
<head><title></title></head>
<body background="背景图片地址">
</body>
</html>
2、在登录框的div添加
<div id="login" style="background-image: 背景图片地址">
3、在css添加
在body添加:
BODY {
background-image: 图片路径地址
}
根据ID添加
#login{
background-image: 图片路径地址
}
这些都可以的,还有js也可以添加的。
图书馆管理系统图片素材哪里有,界面,按钮图标等

图片素材
用JAVA图形界面做一个学生管理系统,要有增删改查功能,不要连接数据库的那种,急用~~

你试一下这个。
应该都达到你说的了。
-------------------------------------------------------------------------------------------------------------------
import ;
import ;
import ;
import ;
import ;
import ;
import ;
import ;
import ;
import ;
import ;
import ;
import ;
import ;
public class AppStudent extends JFrame {
private JTextField nameField;
private JTextField sexField;
private JTextField ageField;
private JTextField stunoField;
private JTextField clazzField;
private JTextField facultyField;
private JTable table;
private DefaultTableModel model;
private String[] columns = { "姓名", "性别", "年龄", "学号", "班级", "系别" };
private List data;
private Student tmp;
// 姓名,性别,年龄,学号,班级,系别
public AppStudent() {
data = new ArrayList();
getContentPane().setLayout(null);
JLabel lblName = new JLabel("姓名");
(12, 10, 50, 13);
getContentPane().add(lblName);
nameField = new JTextField();
(74, 7, 96, 19);
getContentPane().add(nameField);
(10);
JLabel lblSex = new JLabel("性别");
(182, 10, 50, 13);
getContentPane().add(lblSex);
sexField = new JTextField();
(244, 7, 96, 19);
getContentPane().add(sexField);
(10);
JLabel lblAge = new JLabel("年龄");
(352, 10, 50, 13);
getContentPane().add(lblAge);
ageField = new JTextField();
(414, 7, 96, 19);
getContentPane().add(ageField);
(10);
JLabel lblStuno = new JLabel("学号");
(12, 36, 50, 13);
getContentPane().add(lblStuno);
stunoField = new JTextField();
(10);
(74, 33, 96, 19);
getContentPane().add(stunoField);
JLabel lblClass = new JLabel("班级");
(182, 36, 50, 13);
getContentPane().add(lblClass);
clazzField = new JTextField();
(10);
(244, 33, 96, 19);
getContentPane().add(clazzField);
JLabel lblFaculty = new JLabel("系别");
(352, 36, 50, 13);
getContentPane().add(lblFaculty);
facultyField = new JTextField();
(10);
(414, 33, 96, 19);
getContentPane().add(facultyField);
JButton btnAdd = new JButton("add");
(new ActionListener() {
public void actionPerformed(ActionEvent e) {
add();
}
});
(192, 59, 67, 21);
getContentPane().add(btnAdd);
JButton btnDel = new JButton("del");
(new ActionListener() {
public void actionPerformed(ActionEvent e) {
del();
}
});
(271, 59, 58, 21);
getContentPane().add(btnDel);
JButton btnUpdate = new JButton("update");
(new ActionListener() {
public void actionPerformed(ActionEvent e) {
update();
}
});
(352, 59, 77, 21);
getContentPane().add(btnUpdate);
JButton btnFind = new JButton("find");
(new ActionListener() {
public void actionPerformed(ActionEvent e) {
find();
}
});
(441, 59, 69, 21);
getContentPane().add(btnFind);
model = new DefaultTableModel(columns, 0);
table = new JTable(model);
(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
int row = ();
((String) (row, 0));
((String) (row, 1));
((String) (row, 2));
((String) (row, 3));
((String) (row, 4));
((String) (row, 5));
tmp = getInput();
}
});
JScrollPane scrollPane = new JScrollPane(table);
(12, 90, 571, 248);
getContentPane().add(scrollPane);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setLocationRelativeTo(null);
setSize(601, 380);
setResizable(false);
setVisible(true);
}
private Student getInput() {
Student stu = new Student();
= ();
= ();
= ();
= ();
= ();
= ();
return stu;
}
private void add() {
(getInput());
showTable();
}
private void del() {
for (int i = 0; i < (); i++) {
if (((i))) {
(i);
break;
}
}
showTable();
}
private void update() {
Student stu = getInput();
for (int i = 0; i < (); i++) {
if (((i))) {
(i);
(i, stu);
break;
}
}
showTable();
}
private void find() {
removeRows();
Student stu = getInput();
for (int i = 0; i < (); i++) {
Student tmp = (Student) (i);
if ((stu)) {
(());
break;
}
}
}
private void showTable() {
removeRows();
for (int i = 0; i < (); i++) {
Student stu = (Student) (i);
(());
}
}
private void removeRows() {
while (() > 0) {
(0);
}
}
public static void main(String[] args) {
new AppStudent();
}
}
class Student implements Serializable {
public String name;
public String sex;
public String age;
public String stuno;
public String clazz;
public String faculty;
public boolean equals(Object obj) {
return equals((Student) obj);
}
public boolean equals(Student obj) {
boolean isName = true;
if ( != null && !"".equals()) {
isName = ();
}
boolean isSex = true;
if ( != null && !"".equals()) {
isSex = ();
}
boolean isAge = true;
if ( != null && !"".equals()) {
isAge = ();
}
boolean isStuno = true;
if ( != null && !"".equals()) {
isStuno = ();
}
boolean isClazz = true;
if ( != null && !"".equals()) {
isClazz = ();
}
boolean isfaculty = true;
if ( != null && !"".equals()) {
isfaculty = ();
}
return isName && isSex && isAge && isStuno && isClazz && isfaculty;
}
public String[] toArray() {
return new String[] { name, sex, age, stuno, clazz, faculty };
}
}
-
果盘绘画图片大全简单创作方法快速制作技巧2024-01-02 16:57:54
-
小年插画图片创作方法快速制作技巧2024-01-02 16:57:20
-
小年绘画作品制作技巧2024-01-02 16:55:45
-
小年插画图片创作方法快速制作技巧2024-01-02 16:55:02
-
立春插画图片如何制作2024-01-02 16:54:19
-
立春插画图片创作方法快速制作技巧2024-01-02 16:53:32






扫描二维码添加客服微信
扫描二维码关注