-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdAccount.java
More file actions
42 lines (30 loc) · 873 Bytes
/
Copy pathdAccount.java
File metadata and controls
42 lines (30 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class dAccount extends JFrame{
dAccount(){
setTitle("Delete Account");
setSize(500,700);
JLabel unL = new JLabel("User Name:");
unL.setBounds(100, 180, 80, 30);
JTextField unF = new JTextField();
unF.setBounds(200, 180, 200, 30);
JLabel pwL = new JLabel("Password:");
pwL.setBounds(100, 320, 80, 30);
JPasswordField pwF = new JPasswordField();
pwF.setBounds(200, 320, 200, 30);
JButton button = new JButton("Delete");
button.setBounds(100, 450, 300, 30);
add(unL);
add(unF);
add(pwL);
add(pwF);
add(button);
setLayout(null);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
}
public static void main(String[] args) {
new dAccount();
}
}