|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
关于第二点:俺问问你,如果是企业级项目的话,诸如RMI,EJB,等一些关键技术,这些难道都不需要学么?如果光是使用jsp,servlet,javabean的话。
importjava.awt.*;
importjava.awt.event.*;
importjava.util.*;
classp1extendsPanel
{
Labell1;
Fontf=newFont("宋体",Font.BOLD,20);
p1()
{
setLayout(newGridLayout(1,1));
l1=newLabel("用户德律风号码办理",Label.CENTER);
l1.setFont(f);
add(l1);
}
}
classp2extendsPanel
{
Labell1,l2;
TextFieldt1,t2;
p2()
{
setLayout(newGridLayout(1,4));
l1=newLabel("姓名",Label.CENTER);
l2=newLabel("身份证号",Label.CENTER);
t1=newTextField(10);
t2=newTextField(10);
add(l1);
add(t1);
add(l2);
add(t2);
}
}
classp3extendsPanel
{
Labell1,l2;
TextFieldt1,t2;
p3()
{
setLayout(newGridLayout(1,4));
l1=newLabel("家庭住址",Label.CENTER);
l2=newLabel("德律风号码",Label.CENTER);
t1=newTextField(10);
t2=newTextField(10);
add(l1);
add(t1);
add(l2);
add(t2);
}
}
classp4extendsPanel
{
Labell1,l2;
TextFieldt1,t2;
Buttonbtn1;
p4()
{
setLayout(newGridLayout(1,5));
l1=newLabel("话费余额",Label.CENTER);
l2=newLabel("预交话费",Label.CENTER);
t1=newTextField(15);
t2=newTextField(15);
btn1=newButton("确认");
add(l1);
add(t1);
add(l2);
add(t2);
add(btn1);
}
}
classp5extendsPanel
{
Labell1;
TextFieldt1;
p5()
{
setLayout(newGridLayout(1,2));
l1=newLabel("预交时话费总额",Label.CENTER);
t1=newTextField(20);
add(l1);
add(t1);
}
}
classp6extendsPanel
{
Buttonbtn1,btn2;
p6()
{
setLayout(newGridLayout(1,2));
btn1=newButton("按用户姓名查询");
btn2=newButton("按德律风号码查询");
add(btn1);
add(btn2);
}
}
classp7extendsPanel
{
Buttonbtn1,btn2,btn3,btn4,btn5;
p7()
{
setLayout(newGridLayout(1,5));
btn1=newButton("修正");
btn2=newButton("增加");
btn3=newButton("删除");
btn4=newButton("清空");
btn5=newButton("加入体系");
add(btn1);
add(btn2);
add(btn3);
add(btn4);
add(btn5);
}
}
classuser
{
Stringusername;
Stringid;
Stringaddress;
Stringphonenumber;
doublephonefee;
user(Stringx1,Stringx2,Stringx3,Stringx4,doublex5)
{
username=x1;
id=x2;
address=x3;
phonenumber=x4;
phonefee=x5;
}
}
classp8extendsPanel
{
Labell1,l2,l3;
Labell4,l5,l6,l7,l9;
Panelp11,p22,p33,p44,p55;
TextFieldt1,t2;
Buttonbtn;
p8()
{
p11=newPanel();
p22=newPanel();
p33=newPanel();
p44=newPanel();
p55=newPanel();
p11.setLayout(newGridLayout(1,1));
p22.setLayout(newGridLayout(1,1));
p33.setLayout(newGridLayout(1,4));
p44.setLayout(newGridLayout(1,4));
p55.setLayout(newGridLayout(1,1));
l4=newLabel("");
l5=newLabel("");
l6=newLabel("");
l7=newLabel("");
l9=newLabel("");
l1=newLabel("接待离开德律风办理体系",Label.CENTER);
Fontf=newFont("宋体",Font.BOLD,30);
l1.setFont(f);
l2=newLabel("请输出办理员帐号",Label.CENTER);
l3=newLabel("请输出办理员暗码",Label.CENTER);
setBackground(Color.pink);
btn=newButton("断定");
t1=newTextField(20);
t2=newTextField(15);
t2.setEchoChar( |
|