-
Notifications
You must be signed in to change notification settings - Fork 0
/
aboutUs.java
86 lines (63 loc) · 3.15 KB
/
aboutUs.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
package library1;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
public class aboutUs extends JFrame{
private JPanel contentPane;
public static void main(String[] args) {
new aboutUs().setVisible(true);
}
public aboutUs() {
super("About Us - Code for Interview");
setIconImage(Toolkit.getDefaultToolkit().getImage("second.png"));
setBackground(new Color(173, 216, 230));
setBounds(500, 250, 700, 500);
contentPane = new JPanel();
setContentPane(contentPane);
contentPane.setLayout(null);
JLabel l1 = new JLabel("New label");
ImageIcon i1 = new ImageIcon(ClassLoader.getSystemResource("library/management/system/icons/logo.png"));
Image i2 = i1.getImage().getScaledInstance(100, 100,Image.SCALE_DEFAULT);
ImageIcon i3 = new ImageIcon(i2);
l1 = new JLabel(i3);
l1.setBounds(500, 40, 100, 100);
contentPane.add(l1);
JLabel l3 = new JLabel("Library");
l3.setForeground(new Color(0, 250, 154));
l3.setFont(new Font("Trebuchet MS", Font.BOLD | Font.ITALIC, 34));
l3.setBounds(160, 40, 150, 55);
contentPane.add(l3);
JLabel l4 = new JLabel("Mangement System");
l4.setForeground(new Color(127, 255, 0));
l4.setFont(new Font("Trebuchet MS", Font.BOLD | Font.ITALIC, 34));
l4.setBounds(70, 90, 405, 40);
contentPane.add(l4);
JLabel l5 = new JLabel("v5.1");
l5.setForeground(new Color(30, 144, 255));
l5.setFont(new Font("Trebuchet MS", Font.BOLD, 25));
l5.setBounds(185, 140, 100, 21);
contentPane.add(l5);
JLabel l6 = new JLabel("Developed By : Code for Interview");
l6.setFont(new Font("Trebuchet MS", Font.BOLD, 30));
l6.setBounds(70, 198, 600, 35);
contentPane.add(l6);
JLabel l7 = new JLabel("Contact Us : [email protected]");
l7.setFont(new Font("Trebuchet MS", Font.BOLD, 20));
l7.setBounds(70, 260, 600, 34);
contentPane.add(l7);
JLabel l8 = new JLabel("Subscribe us on Youtube : Code for Interview");
l8.setFont(new Font("Trebuchet MS", Font.BOLD, 20));
l8.setBounds(70, 290, 600, 34);
contentPane.add(l8);
JLabel l9 = new JLabel("Follow us on Instagram : codeforinterview");
l9.setFont(new Font("Trebuchet MS", Font.BOLD , 20));
l9.setBounds(70, 320, 600, 34);
contentPane.add(l9);
JLabel l10 = new JLabel("**If you want us to make Java Project for you, drop a mail**");
l10.setForeground(new Color(47, 79, 79));
l10.setFont(new Font("Trebuchet MS", Font.BOLD | Font.ITALIC, 18));
l10.setBounds(70, 400, 600, 34);
contentPane.add(l10);
contentPane.setBackground(Color.WHITE);
}
}