25
p.add(benter);
benter.addActionListener(this);
Font f =new Font("algerian",Font.BOLD,50);
lt=new JLabel("Check-In");
lt.setBounds(300,20,300,50);
lt.setFont(f);
ln=new JLabel("Name of Customer:");
ln.setBounds(100,150,300,30);
lfn=new JLabel("Father Name:");
lfn.setBounds(100,180,250,30);
ladd=new JLabel("Address:");
ladd.setBounds(100,210,250,30);
lph=new JLabel("Phone no:");
lph.setBounds(100,240,250,30);
lcity=new JLabel("City:");
lcity.setBounds(100,270,250,30);
lstate =new JLabel("State:");
lstate.setBounds(100,300,250,30);
lbfor=new JLabel("Date for Room Booked:");
lbfor.setBounds(100,330,350,30);
lrt=new JLabel("Room Type:");
lrt.setBounds(100,370,250,30);
lprice=new JLabel("Price:");
lprice.setBounds(100,400,250,30);
lroomno=new JLabel("Room no:");
lroomno.setBounds(100,430,250,30);
lln=new JLabel("");
lln.setBounds(500,150,300,30);
llfn=new JLabel("");
llfn.setBounds(500,180,250,30);
lladd=new JLabel("");
lladd.setBounds(500,210,250,30);
llph=new JLabel("");
llph.setBounds(500,240,250,30);
llcity=new JLabel("");
llcity.setBounds(500,270,250,30);
llstate =new JLabel("");
llstate.setBounds(500,300,250,30);
llbfor=new JLabel("");
llbfor.setBounds(500,330,350,30);
llrt=new JLabel("");
llrt.setBounds(500,370,250,30);
llprice=new JLabel("");
llprice.setBounds(500,400,250,30);
llroomno=new JLabel("");
llroomno.setBounds(500,430,250,30);
add(lln);add(llfn);add(lladd);add(llph);add(llcity);add(llstate);add(llbfor);add(llrt
);add(llprice);add(llroomno);