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

📄 deleteuser.java~3~

📁 车辆管理系统
💻 JAVA~3~
字号:
package carmanage;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.Rectangle;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JPasswordField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

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

    private void jbInit() throws Exception {
        getContentPane().setLayout(null);
        jLabel1.setFont(new java.awt.Font("宋体", Font.PLAIN, 20));
        jLabel1.setText("姓名:");
        jLabel1.setBounds(new Rectangle(32, 54, 63, 38));
        jPasswordField1.addActionListener(new
                DeleteUser_jPasswordField1_actionAdapter(this));
        this.getContentPane().add(jLabel1);
        jPasswordField1.setBounds(new Rectangle(164, 130, 170, 36));
        txtName.setBounds(new Rectangle(165, 60, 170, 34));
        this.getContentPane().add(jLabel2);
        this.getContentPane().add(txtName);
        this.getContentPane().add(jPasswordField1);
        jLabel2.setFont(new java.awt.Font("宋体", Font.PLAIN, 20));
        jLabel2.setText("密码:");
        jLabel2.setBounds(new Rectangle(32, 125, 81, 34));
    }

    JLabel jLabel1 = new JLabel();
    JLabel jLabel2 = new JLabel();
    JTextField txtName = new JTextField();
    JPasswordField jPasswordField1 = new JPasswordField();
    public void jPasswordField1_actionPerformed(ActionEvent e) {

    }
}


class DeleteUser_jPasswordField1_actionAdapter implements ActionListener {
    private DeleteUser adaptee;
    DeleteUser_jPasswordField1_actionAdapter(DeleteUser adaptee) {
        this.adaptee = adaptee;
    }

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

⌨️ 快捷键说明

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