-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage1.java
109 lines (93 loc) · 3.65 KB
/
page1.java
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextPane;
import java.awt.Color;
import javax.swing.JEditorPane;
import javax.swing.JPasswordField;
import javax.swing.JRadioButton;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JTextArea;
import java.awt.SystemColor;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.ImageIcon;
public class page1 extends JFrame {
private JPanel contentPane;
private JPasswordField passwordField;
private JTextField textField;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
page1 frame = new page1();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public page1() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 938, 683);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
contentPane.setLayout(null);
passwordField = new JPasswordField();
passwordField.setBounds(100, 369, 305, 45);
contentPane.add(passwordField);
textField = new JTextField();
textField.setBounds(100, 274, 305, 45);
contentPane.add(textField);
textField.setColumns(10);
JButton btnNewButton = new JButton("SUBMIT");
btnNewButton.setFont(new Font("Tahoma", Font.PLAIN, 20));
btnNewButton.setBounds(278, 475, 127, 22);
contentPane.add(btnNewButton);
JTextArea txtrPass = new JTextArea();
txtrPass.setBackground(SystemColor.control);
txtrPass.setText("Pass");
txtrPass.setBounds(100, 341, 127, 22);
contentPane.add(txtrPass);
JTextArea txtrLogin = new JTextArea();
txtrLogin.setBackground(SystemColor.control);
txtrLogin.setText("Login");
txtrLogin.setBounds(100, 241, 105, 22);
contentPane.add(txtrLogin);
JLabel lblNewLabel = new JLabel("Connexion");
lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 26));
lblNewLabel.setBounds(100, 173, 148, 74);
contentPane.add(lblNewLabel);
JLabel lblNewLabel_1 = new JLabel("TeamManager");
lblNewLabel_1.setFont(new Font("Tahoma", Font.PLAIN, 16));
lblNewLabel_1.setBounds(282, 226, 105, 37);
contentPane.add(lblNewLabel_1);
JLabel lblNewLabel_2 = new JLabel("PAGE DE CONNEXION");
lblNewLabel_2.setFont(new Font("Tahoma", Font.BOLD, 32));
lblNewLabel_2.setBounds(526, 136, 368, 45);
contentPane.add(lblNewLabel_2);
JLabel lblNewLabel_3 = new JLabel("IMAGE");
lblNewLabel_3.setFont(new Font("Tahoma", Font.PLAIN, 50));
lblNewLabel_3.setBounds(536, 192, 368, 248);
contentPane.add(lblNewLabel_3);
JLabel lblNewLabel_4 = new JLabel("TEAM EXPERIENCE LALACHANTE");
lblNewLabel_4.setFont(new Font("Tahoma", Font.BOLD, 16));
lblNewLabel_4.setBounds(587, 430, 286, 55);
contentPane.add(lblNewLabel_4);
JLabel lblNewLabel_5 = new JLabel("TeamManager");
lblNewLabel_5.setFont(new Font("Tahoma", Font.PLAIN, 12));
lblNewLabel_5.setBounds(95, 75, 110, 31);
contentPane.add(lblNewLabel_5);
}
}