-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviewOneTeam.java
More file actions
81 lines (65 loc) · 2.2 KB
/
viewOneTeam.java
File metadata and controls
81 lines (65 loc) · 2.2 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
79
80
81
package dataKicker;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import java.awt.Font;
public class viewOneTeam extends JFrame {
private static final long serialVersionUID = 1L;
private JPanel contentPane;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
viewOneTeam frame = new viewOneTeam();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public viewOneTeam() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 450, 300);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
contentPane.setLayout(null);
JButton btnNewButton = new JButton("Back");
btnNewButton.setBounds(6, 6, 117, 29);
contentPane.add(btnNewButton);
JLabel lblNewLabel = new JLabel("(팀 이름)");
lblNewLabel.setFont(new Font("Lucida Grande", Font.BOLD, 18));
lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
lblNewLabel.setBounds(6, 38, 438, 29);
contentPane.add(lblNewLabel);
JLabel lblNewLabel_1 = new JLabel("팀 ID:");
lblNewLabel_1.setBounds(6, 79, 61, 16);
contentPane.add(lblNewLabel_1);
JLabel lblNewLabel_1_1 = new JLabel("국가:");
lblNewLabel_1_1.setBounds(6, 107, 61, 16);
contentPane.add(lblNewLabel_1_1);
JLabel lblNewLabel_1_2 = new JLabel("FIFA 랭킹:");
lblNewLabel_1_2.setBounds(6, 135, 61, 16);
contentPane.add(lblNewLabel_1_2);
JLabel lblNewLabel_1_3 = new JLabel("현재 진행 중인 대회:");
lblNewLabel_1_3.setBounds(160, 79, 122, 16);
contentPane.add(lblNewLabel_1_3);
JLabel lblNewLabel_1_3_1 = new JLabel("현재 진행 중인 대회 순위:");
lblNewLabel_1_3_1.setBounds(160, 107, 139, 16);
contentPane.add(lblNewLabel_1_3_1);
JLabel lblNewLabel_1_3_1_1 = new JLabel("현재 진행 중인 대회 승점:");
lblNewLabel_1_3_1_1.setBounds(160, 135, 139, 16);
contentPane.add(lblNewLabel_1_3_1_1);
}
}