-
Notifications
You must be signed in to change notification settings - Fork 0
/
CreditPanel.java
77 lines (61 loc) · 2.43 KB
/
CreditPanel.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
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class CreditPanel extends JPanel{
public static JPanel first;
public JButton out_C;
private JLabel lblTitle, lbl_1,lbl_2,lbl_3, lblout_C;
private ImageIcon baseImage = new ImageIcon("PatternBackground1.jpg"); // by umji 2016-06-05
public CreditPanel(){
// 2016-06-05
first = new JPanel(){
public void paintComponent(Graphics g){
super.paintComponent(g);
g.drawImage(baseImage.getImage(), 0, 0, this);
}
};
// by umji
/*기본 패널*/
first.setPreferredSize(new Dimension(800,600));
first.setVisible(true);
first.setLayout(null);
add(first);
/*개발진 소개 Label*/
lbl_1 = new JLabel("# ---"); //by umji 2016-06-05
lbl_1.setBounds(220,170,600,100); //by umji 2016-06-05
lbl_1.setFont(new Font("돋움", Font.BOLD, 30));
lbl_1.setVerticalAlignment(SwingConstants.CENTER);
first.add(lbl_1);
lbl_2 = new JLabel("# ---"); //by umji 2016-06-05
lbl_2.setBounds(220,270,600,100); //by umji 2016-06-05
lbl_2.setFont(new Font("돋움", Font.BOLD, 30));
lbl_2.setVerticalAlignment(SwingConstants.CENTER);
first.add(lbl_2);
lbl_3 = new JLabel("# ---"); //by umji 2016-06-05
lbl_3.setBounds(220,370,600,100); //by umji 2016-06-05
lbl_3.setFont(new Font("돋움", Font.BOLD, 30));
lbl_3.setVerticalAlignment(SwingConstants.CENTER);
first.add(lbl_3);
/*닫기*/
lblout_C = new JLabel("닫기");
lblout_C.setBounds(600,465,60,40);
lblout_C.setForeground(Color.black);
lblout_C.setHorizontalAlignment(SwingConstants.CENTER);
lblout_C.setVerticalAlignment(SwingConstants.CENTER);
lblout_C.setOpaque(false);
first.add(lblout_C);
ImageIcon face = new ImageIcon("btnFace.gif");
out_C = new JButton(face);
out_C.setBorderPainted(false);
out_C.setContentAreaFilled(false);
out_C.setBounds(580,440,100,100);
first.add(out_C);
/*타이틀*/
// 2016-06-05
lblTitle = new JLabel("Credit");
lblTitle.setFont(new Font("Verdana", Font.BOLD, 70));
lblTitle.setBounds(280,30,500,100);
first.add(lblTitle);
// by umji
} // constructor
} // HelpPanel class