⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 about.java

📁 学习成绩管理系统,包括学生管理,成绩管理,科目管理,考试管理等,根据不同权限分为高级用户和普通用户
💻 JAVA
字号:
package studentsystem;import java.awt.*;import javax.swing.*;import java.awt.event.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @download by http://www.codefans.net * @author not attributable * @version 1.0 */public class about extends JDialog {  JPanel panel1 = new JPanel();  ImageIcon icon=new ImageIcon("xuan.jpg");//设置背景图片  JLabel jLabel1 = new JLabel(icon);    JButton sure = new JButton();  public about(Frame frame, String title, boolean modal) {    super(frame, title, true);    try {      jbInit();      pack();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  public about() {    this(null, "", true);  }  private void jbInit() throws Exception {    jLabel1.setText("");    jLabel1.setBounds(new Rectangle(5, 5, 392, 250));    panel1.setBounds(new Rectangle(0, 299, 1, 1));    panel1.setLayout(null);    jLabel1.setText("");    jLabel1.setBounds(new Rectangle(-43, 0, 414, 245));    sure.setBounds(new Rectangle(109, 243, 79, 29));    sure.setFont(new java.awt.Font("Dialog", 0, 15));    sure.setText("确   定");    jLabel1.setToolTipText("leeyingzhang制作!");    sure.addActionListener(new about_sure_actionAdapter(this));    this.setTitle("呵呵!");    this.getContentPane().add(panel1, null);    this.getContentPane().add(sure, null);    this.getContentPane().add(jLabel1, null);    this.setBounds(200,200,330,310);    this.getContentPane().setLayout(null);    this.setVisible(true);  }  void sure_actionPerformed(ActionEvent e) {  this.dispose();  }}class about_sure_actionAdapter implements java.awt.event.ActionListener {  about adaptee;  about_sure_actionAdapter(about adaptee) {    this.adaptee = adaptee;  }  public void actionPerformed(ActionEvent e) {    adaptee.sure_actionPerformed(e);  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -