Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
Human Resouce Management System

Human Resouce Management System

Ratings: (0)|Views: 172|Likes:
Published by api-26783694
java
java

More info:

Published by: api-26783694 on Oct 19, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

//human resource management systems
//developed by m. r. pandey,marathwada institute of technology, bulandshahr,india,
mr_pandey@rediffmail.com
/*
////////////////
progressbar.java//////////////////////
*/

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class progressbar extends jframe implements actionlistener
{static progressmonitor pbar;
static int counter =0;
jbutton b=new jbutton("click here");
public progressbar()
{super("progress monitor demo");

setsize(300,400);
pbar=new progressmonitor(null,"monitor progress","initializing....",0,100);
timer t=new timer(250,this);
t.start();
setvisible(true);
}public static void main(string args[])

{uimanager.put("progressbar.progresstext","hrms system"); uimanager.put("optionpane.cancelbuttontext","go away"); new progressbar();

welcome f=new welcome();
f.setvisible(true);
f.setsize(800,600);

f.show();

}public void actionperformed(actionevent e)
{swingutilities.invokelater(new update());
if(counter==100)

{b.setenabled(false);
this.dispose();
}}class update implements runnable

{public void run()
{if(pbar.iscanceled())
{

pbar.close();
system.exit(1);
}pbar.setprogress(counter);

pbar.setnote("operation is"+counter+" % complete");
counter+=2;
}}}/*

////////////////
welcome.java//////////////////////
*/

import java.awt.*;
import java.awt.toolkit;
import javax.swing.*;
import java.awt.event.*;
import java.awt.color;

public class welcome extends jframe implements actionlistener
{public jlabel l,l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l12,l13,l14,l15,l16,l17;

public jbutton b;
public jpanel panel;
font g,h,i;
color c;

public welcome()

{
g=new font("",font.bold,25);
h=new font("",font.italic,18);
i=new font("",font.bold,12);

c =new color(210,100,205);

getcontentpane().setbackground(color.orange);
panel=(jpanel)getcontentpane();
panel.setlayout(null);

l=new jlabel("welcome");
l1=new jlabel("to");
l2=new jlabel("wonderful");
l14=new jlabel("world");
l3=new jlabel("of");
l4=new jlabel("human resource management system");
l5=new jlabel("created by:");
l6=new jlabel("mahaveer pandey");
l7=new jlabel("kanchan pandey");
l8=new jlabel("sushil kumar pandey");
l13=new jlabel("manisha pandey");
l9=new jlabel("under the guidance of:");
l10=new jlabel("mr. ajit kumar singh");

l15=new jlabel("mr. n.k.tyagi");
l16=new jlabel("mr. m.r.pandey");
l17=new jlabel("m.i.t., bulandshahr");

l12=new jlabel("marathawada institute of technology bulandshahr, up-203001");
b=new jbutton("click here");

panel.add(l);
l.setbounds(300,0,180,60);
l.setfont(g);

panel.add(l1);
l1.setbounds(340,70,100,30);
l1.setfont(g);

panel.add(l2);
l2.setbounds(70,100,200,60);
l2.setfont(g);
panel.add(l14);
l14.setbounds(490,100,130,60);
l14.setfont(g);

panel.add(l3);
l3.setbounds(340,140,100,30);
l3.setfont(g);

panel.add(l4);
l4.setfont(g);
l4.setbounds(100,250,700,30);

panel.add(l5);
l5.setfont(h);
l5.setbounds(60,350,150,30);

panel.add(l6);
l6.setfont(i);
l6.setbounds(100,370,150,30);

panel.add(l7);
l7.setfont(i);
l7.setbounds(100,390,150,30);

panel.add(l8);
l8.setfont(i);
l8.setbounds(100,410,150,30);

panel.add(l13);
l13.setfont(i);
l13.setbounds(100,430,150,30);

panel.add(l9);
l9.setfont(h);
l9.setbounds(450,350,200,30);

panel.add(l10);
l10.setfont(i);

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->