-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFisrtPage.java
More file actions
78 lines (68 loc) · 2.27 KB
/
FisrtPage.java
File metadata and controls
78 lines (68 loc) · 2.27 KB
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
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JRadioButton;
import java.awt.Color;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
public class FisrtPage extends JFrame {
private JPanel contentPane;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
FisrtPage frame = new FisrtPage();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public FisrtPage() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 678, 462);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
contentPane.setLayout(null);
JLabel lblCustome = new JLabel("Customer");
lblCustome.setForeground(Color.ORANGE);
lblCustome.setFont(new Font("Dialog", Font.BOLD, 41));
lblCustome.setBounds(167, 138, 373, 44);
contentPane.add(lblCustome);
JLabel lblEmployee = new JLabel("Employee");
lblEmployee.setForeground(Color.ORANGE);
lblEmployee.setFont(new Font("Dialog", Font.BOLD, 41));
lblEmployee.setBounds(170, 219, 370, 53);
contentPane.add(lblEmployee);
JRadioButton rdbtnNewRadioButton = new JRadioButton("");
rdbtnNewRadioButton.setForeground(Color.ORANGE);
rdbtnNewRadioButton.setFont(new Font("Dialog", Font.BOLD, 41));
rdbtnNewRadioButton.setBounds(413, 161, 127, 21);
contentPane.add(rdbtnNewRadioButton);
JRadioButton rdbtnNewRadioButton_1 = new JRadioButton("");
rdbtnNewRadioButton_1.setForeground(Color.ORANGE);
rdbtnNewRadioButton_1.setFont(new Font("Dialog", Font.BOLD, 41));
rdbtnNewRadioButton_1.setBounds(413, 228, 127, 44);
contentPane.add(rdbtnNewRadioButton_1);
JButton btnNext = new JButton("NEXT");
btnNext.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
}
});
btnNext.setBounds(304, 323, 85, 21);
contentPane.add(btnNext);
}
}