91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 116KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-12
  • 語言: Java
  • 標(biāo)簽: java??課程設(shè)計??

資源簡介

這是一個簡單的使用數(shù)據(jù)庫存儲學(xué)生成績的學(xué)生成績管理程序。數(shù)據(jù)庫中的每條記錄包括學(xué)號、姓名、分?jǐn)?shù)等信息。要求能夠: ? (1)有較好的圖形界面 (2)按照學(xué)號查找學(xué)生及成績、能顯示全部記錄。 ? (3)能增加、刪除、修改記錄。 ? (4)計算平均成績。統(tǒng)計出優(yōu)秀(100-90)、良好(89-75)一般(74-60)和不及格 (59-0)的人數(shù)百分比。按成績分?jǐn)?shù)排序。

資源截圖

代碼片段和文件信息

package?student;
import?java.awt.*;
import?java.awt.event.*;
import?javax.swing.*;
import?javax.swing.table.DefaultTableModel;
import?java.sql.*;
import?java.util.Vector;
public?class?chengjiguanli?
{
public?static?void?main(String[]?args)?
{
new?denglu();
}
}
class?denglu?extends?Jframe?implements?ActionListener?{
Jframe?frame?=?new?Jframe(“登陸界面“);
JPanel?imagePanel;
ImageIcon?bg;
JButton?button1?button2;
Label?l1?l2?l3;
TextField?a1?a2;
Box?b1?b2?b3?b4?b5;
denglu()?{
Toolkit?kit?=?Toolkit.getDefaultToolkit();
Image?img?=?kit.getImage(“Login.jpg“);
frame.setIconImage(img);
button1?=?new?JButton(“登陸“);
button2?=?new?JButton(“退出“);
Panel?p1?=?new?Panel();
l1?=?new?Label(“學(xué)生成績管理系統(tǒng)“?Label.CENTER);
l1.setFont(new?Font(“楷書“?Font.BOLD?40));
l1.setBackground(Color.blue);
p1.add(l1);
l2?=?new?Label(“登錄名“);
l2.setBackground(Color.cyan);
l3?=?new?Label(“密碼“);
l3.setBackground(Color.cyan);
a1?=?new?TextField(10);
a2?=?new?TextField(10);
a2.setEchoChar(‘*‘);
a1.setBackground(Color.orange);
a2.setBackground(Color.orange);
b1?=?Box.createVerticalBox();
b1.add(l2);
b1.add(Box.createVerticalStrut(8));
b1.add(l3);
b2?=?Box.createVerticalBox();
b2.add(a1);
b2.add(Box.createVerticalStrut(8));
b2.add(a2);
b3?=?Box.createHorizontalBox();
b3.add(b1);
b3.add(Box.createHorizontalStrut(10));
b3.add(b2);
b4?=?Box.createHorizontalBox();
b4.add(button1);
b4.add(Box.createHorizontalStrut(10));
b4.add(button2);
b5?=?Box.createVerticalBox();
b5.add(b3);
b5.add(Box.createVerticalStrut(8));
b5.add(b4);
button1.addActionListener(this);
button2.addActionListener(this);
a1.setText(“學(xué)生“);
a2.setText(““);
addWindowListener(new?WindowAdapter()?{
public?void?windowClosing(WindowEvent?e)?{
dispose();
}
});
bg?=?new?ImageIcon(“Login.jpg“);
JLabel?label?=?new?JLabel(bg);
label.setBounds(0?0?bg.getIconWidth()?bg.getIconHeight());
imagePanel?=?(JPanel)?frame.getContentPane();
imagePanel.setOpaque(false);
imagePanel.setLayout(new?FlowLayout());
imagePanel.add(p1?BorderLayout.NORTH);
imagePanel.add(b5?BorderLayout.CENTER);
frame.getlayeredPane().setLayout(null);
frame.getlayeredPane().add(label?new?Integer(Integer.MIN_VALUE));
frame.setDefaultCloseOperation(Jframe.EXIT_ON_CLOSE);
frame.setSize(bg.getIconWidth()?bg.getIconHeight());
frame.setBounds(200?150?510?340);
frame.setVisible(true);
validate();
}

public?void?actionPerformed(ActionEvent?e)?{
if?(e.getSource()?==?button2)?{
System.exit(0);
}
if?(e.getSource()?==?button1)?{
if?(a1.getText().equals(“學(xué)生“)?&&?a2.getText().equals(“123456“))?
{
new?chuangkou();
frame.dispose();
}?else?{
JOptionPane.showMessageDialog(this?“賬戶密碼錯誤,請重新輸入!“);
}
}
}

class?chuangkou?extends?Jframe?implements?ActionListener
{
Jframe?frame?=?new?Jframe(“選擇窗口“);

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????728??2016-03-06?22:37??學(xué)生成績管理\.classpath

?????文件????????394??2016-03-06?22:30??學(xué)生成績管理\.project

?????文件????????598??2016-03-06?22:30??學(xué)生成績管理\.settings\org.eclipse.jdt.core.prefs

?????文件????????433??2016-03-20?15:47??學(xué)生成績管理\bin\student\chengjiguanli.class

?????文件????????621??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$1.class

?????文件???????5545??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$Add.class

?????文件???????3882??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$chaxun.class

?????文件????????738??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$chuangkou$1.class

?????文件???????3799??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$chuangkou.class

?????文件???????5148??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$CountForm$1.class

?????文件???????2502??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$CountForm.class

?????文件???????5644??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$Delete.class

?????文件???????2325??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$InfroForm.class

?????文件???????5509??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$Modify.class

?????文件???????4019??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$Query.class

?????文件???????2520??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$ScoreForm.class

?????文件???????5957??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$shanchu.class

?????文件???????5746??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$tianjia.class

?????文件???????5047??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu$xiugai.class

?????文件???????5084??2016-03-20?15:47??學(xué)生成績管理\bin\student\denglu.class

?????文件??????21516??2016-03-06?22:34??學(xué)生成績管理\Login.jpg

?????文件??????54862??2016-03-06?22:34??學(xué)生成績管理\manage.jpg

?????文件??????43387??2016-03-20?15:58??學(xué)生成績管理\src\student\chengjiguanli.java

?????目錄??????????0??2016-03-20?15:53??學(xué)生成績管理\bin\student

?????目錄??????????0??2016-03-20?15:53??學(xué)生成績管理\src\student

?????目錄??????????0??2016-03-20?15:53??學(xué)生成績管理\.settings

?????目錄??????????0??2016-03-20?15:53??學(xué)生成績管理\bin

?????目錄??????????0??2016-03-20?15:53??學(xué)生成績管理\src

?????目錄??????????0??2016-03-20?15:53??學(xué)生成績管理

-----------?---------??----------?-----??----

............此處省略2個文件信息

評論

共有 條評論