About Us of Employee Payroll
————————————————————————————-
import javax.swing.*;
import java.awt.Font;
class AboutUs extends JFrame
{
/*Declaring all Reference Variables of Labels and ImageIcon*/
JLabel imglbl, Headinglbl, Infolbl;
ImageIcon img;
public AboutUs()
{
/*Specifying Properties of JFrame*/
this.setTitle(“About Us”);
this.setVisible(true);
this.setSize(400,300);
this.setLayout(null);
this.setResizable(false);
this.setLocation(300,200);
/*Initializing ImageIcon Object by providing path of
image and setting size and location.*/
img = new ImageIcon(“Images/user1.png”);
this.add(imglbl = new JLabel(img));
imglbl.setBounds(5,5,100,100);
/*Initializing all Labels and setting there size and location*/
this.add(Headinglbl = new JLabel(“Pay System”));
Headinglbl.setFont(new Font(“Algerian”,Font.BOLD,25));
Headinglbl.setBounds(110,40,200,30);
this.add(Infolbl = new JLabel(“Pay System is a Employee Payroll Management System software,”));
Infolbl.setBounds(5,110,390,20);
this.add(Infolbl = new JLabel(“which is designed to manage Employee Details, Payroll, Leave”));
Infolbl.setBounds(5,125,390,20);
this.add(Infolbl = new JLabel(“Status, Reports and Pay Slip.”));
Infolbl.setBounds(5,140,390,20);
this.add(Infolbl = new JLabel(“This software is compiled by:- Sunni Kumar Sharma(16 Feb, 2011)”));
Infolbl.setBounds(5,175,390,20);
this.add(Infolbl = new JLabel(“Compiler : jdk1.7.0_01.”));
Infolbl.setBounds(5,190,390,20);
this.add(Infolbl = new JLabel(“Copyright © 2011 by Sunni Kumar Sharma”));
Infolbl.setBounds(5,205,390,20);
}
}