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

📄 project_info.java~3~

📁 一款高校科研管理系统
💻 JAVA~3~
字号:
package scince;

import java.awt.*;

import javax.swing.*;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class project_Info extends JFrame {
    public project_Info() {
        try {
            jbInit();
        } catch (Exception exception) {
            exception.printStackTrace();
        }
    }

    private void jbInit() throws Exception {
        getContentPane().setLayout(null);
        jLabel1.setText("项目编号");
        jLabel1.setBounds(new Rectangle(26, 10, 89, 31));
        jTextField6.setBounds(new Rectangle(121, 222, 92, 32));
        jButton1.setBounds(new Rectangle(309, 20, 81, 38));
        jButton1.setText("查看");
        jButton1.addActionListener(new project_Info_jButton1_actionAdapter(this));
        jButton2.setBounds(new Rectangle(310, 70, 82, 35));
        jButton2.setText("删除");
        jButton3.setBounds(new Rectangle(309, 118, 87, 44));
        jButton3.setText("添加");
        jButton4.setBounds(new Rectangle(309, 169, 87, 38));
        jButton4.setText("退出");
        this.getContentPane().add(jLabel1);
        jTextField5.setBounds(new Rectangle(121, 183, 90, 24));
        jTextField4.setBounds(new Rectangle(123, 139, 80, 25));
        jTextField3.setBounds(new Rectangle(121, 96, 80, 28));
        jTextField2.setBounds(new Rectangle(122, 54, 81, 26));
        jTextField1.setBounds(new Rectangle(120, 14, 79, 21));
        jLabel6.setText("参加人员角色");
        jLabel6.setBounds(new Rectangle(20, 219, 77, 47));
        jLabel5.setText("时间");
        jLabel5.setBounds(new Rectangle(28, 178, 54, 37));
        jLabel4.setText("经费");
        jLabel4.setBounds(new Rectangle(26, 131, 59, 33));
        jLabel3.setText("项目来源");
        jLabel3.setBounds(new Rectangle(26, 95, 53, 23));
        this.getContentPane().add(jLabel2);
        this.getContentPane().add(jLabel3);
        this.getContentPane().add(jLabel4);
        this.getContentPane().add(jLabel5);
        this.getContentPane().add(jLabel6);
        this.getContentPane().add(jTextField1);
        this.getContentPane().add(jTextField2);
        this.getContentPane().add(jTextField3);
        this.getContentPane().add(jTextField4);
        this.getContentPane().add(jTextField5);
        this.getContentPane().add(jTextField6);
        this.getContentPane().add(jButton1);
        this.getContentPane().add(jButton2);
        this.getContentPane().add(jButton3);
        this.getContentPane().add(jButton4);
        jLabel2.setText("项目名称");
        jLabel2.setBounds(new Rectangle(24, 48, 64, 33));
    }

    JLabel jLabel1 = new JLabel();
    JLabel jLabel2 = new JLabel();
    JLabel jLabel3 = new JLabel();
    JLabel jLabel4 = new JLabel();
    JLabel jLabel5 = new JLabel();
    JLabel jLabel6 = new JLabel();
    JTextField jTextField1 = new JTextField();
    JTextField jTextField2 = new JTextField();
    JTextField jTextField3 = new JTextField();
    JTextField jTextField4 = new JTextField();
    JTextField jTextField5 = new JTextField();
    JTextField jTextField6 = new JTextField();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();
    JButton jButton3 = new JButton();
    JButton jButton4 = new JButton();
    public void jButton1_actionPerformed(ActionEvent e) {

    }


}


class project_Info_jButton1_actionAdapter implements ActionListener {
    private project_Info adaptee;
    project_Info_jButton1_actionAdapter(project_Info adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.jButton1_actionPerformed(e);
    }
}

⌨️ 快捷键说明

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