背景图书管理系统登录界面---编码

qq空间登录界面  时间:2021-01-17  阅读:()

pacage B

mport  v .at.Clor;impor jav  aw .nt;import  va awt. ven .ActionEentimport ja  .awt.ee  .  ionList  r;ipor  ava in .Imag I on;import  avx.swng But on;impot javax swng.Jrame;im rt javx win .L  limport  avx.swin .JP sswrdie d;impot j vax swi  Jetield;pb ic lass  exends JFrame{stat   d;

uton jb1, jb ,  3;

C( ) 

th s.s e t T i t e("登陆") 

 h s.setS  z  (  00,4  0) ;

hi .setLocation 600 40  ) ;

JLabel jl= w Labl(ew mageIcon("g:  /6. jpg ) ) ;  /添加背景

Fn f=e on ("Ser  f  ,nt BLD  4) ;

//设置字体

JetField  t=new JTextil  ( ) 

JPasswrdField pnw JPas wrFiel  ( ) ;

this. e  out nl ) 

 b1=n Buttn("登陆 ) ;

 b1 addAc  oListene ew Myistene  ( ) ) ; //添加监听jb1.setBackrud Color.ray 

//设置背景颜色j bew utn("注册") jb2.setBackgrou (olor.ga) ;jt eBoud (9  ,  50,   , 20) ;

p.s tBound (90, 190 90, 20) 

   .setBond (  0 50, 60,   ) ;jb2. eBunds (1  0, 25  , 6   20) ;this add(j  ) ;

tis. dd(jp) ;t  s.ad( b1) ;

 his a  (jb2) th s. etLay t(ul  ;

 l etBouds (0,  , 60  ,4  0) ;

/ 设置背景大小

thi .add j l) ;

}

 lassyLis eer implments Ac inListener{pulic oid actioPe ome (t  onvent arg ) 

.dispos  ( ) ;

nw jieian  ) 

public static void ma  (String[ ] ag ) {

 =ne    ;

 d setD altCloseOera  o (Jre DIPOE_ONCLSE)  d.setV sile tre) ;

}

pc kag B;import jaa.awt.Fowayoutimort jav.awt.evnt.ActionE  t;import java aw .event At onLi   ener

mpor   vax.sw in ImageI   ;ipo   vax. wng.JBu tn;impot ja x ing.JFaeimpr  j a x.sn.J Lab e  pbl   clas  jiemian ex eds Fame{

JBtton b 1,jb2,j3  4,  5, b 

s at  c  imian o;

 iem an(){this.  etis  le(true)th is s tit  e "图书馆管理系统");t  s  etS iz(600,400);t  s.  etoation(3 0,200);

Jaeljl=new Lae  new ImaeIco("g:/2. pg"));

/添加背景

 b 1=new But on "图书采购" ;

jb 2=ew Button  图书入库" ;jb=new JButto("图书流通");

 jb=ew JBut on( 读者管理 );

 jbnw JBttn( 统计查询");

b6=e JButton("系统设置");tis ad(b )this.add jb 2 ;

 hi  .add(jb)

 th s.add(jb)

h is. d d(j5 ;

 is.  d(b  ;this.s etLayot(nu l

jl s et Buns      600,400);

  //设置背景大小

 hi  .ad(jl

 t  s.s tLyout(new FlowL ot   );j1. ddc tionLi   ener(ew MyListne 1());

 jb2.addc t onL s tener(newis tener2() ;jb3.  dActinList e new MyLis  ener3( );j .adActioni  tener(ew MyL  tener4( ); jb 5.addc  ion  s tne(ew yLis te r()); jb 6. ddAc  ioL s  ener(new yLi  tner( );

 his.s tVis i  e(tru);

 

c las syLi  tne 1 imp lent  c tioi   e r  ublic vid actionerfore(ActionEvet e) {

   f(e.getS rce()j1){

 new jiem n 1();

 o is p o s (

 }



}c  as  yListenr mlemen s AtionL s  ene { public void ac  inef med(Ac  i Even e)    f( .eSurc ()=j2){

 new jiem an2()

o.dis ps ();



 }

c  ss MyL stener iplmn s Act onistene { publi vo i acti P frme(tinv   ) {

 if(e geSouc e()jb3 {

 e  imia3();

 o.d pos  );

 }

 }

}

 c  ass Myisten   mplements t  nistene 

pub ic void actioPerformd(Ac  onEe  e) {

 if(e.geSourc e )==jb4){

  w   emian4  

o.is p o e()

}



}c las s MyListener5 implem ents Act onLi   ener 

pub  c void actionPerfoed(cti Eve  ) {

if( .getSore )==jb5 {

 ew j  mia  );

 o dis p o s e()





class Myistenr6 implements A  on  stene {

pul  c vid  tioPerormed Ac  ionEvnt e) 

 if(e getSorce()==jb6){

 new jimin6 );

 .dis p o s e()

}

}

 }

pulic stat c void mi(Str n ]ag ) {o=new jiemia();

.setDefau tCloseOperation(JF me IT_ON_COSE)o.s etis ile(  u);





 ckage B;

mport java.awt.FloLyout;import jaa. wt.event Ac  ionvnt;

por  java.awt.event.Ac t onis  enr;imort java swig.Imag  co;ipot  avax sng JBut o;

m rt j a sw  .Frame

port  avax sng.JLabel;

ublic c  ass jiemian1 extens JFrme{

Jtton jb3;

stati j  mi   o

jiem ian 1(){ hi  .s eVis ib e true)

 this.s eT it  ( 图书采购");

t  s.  eti (600,400)

tis s etLc ation 300 20 );

Lbeljl=ew Jabel(  mage  con("g /2 jpg" ); //添加背景

JBu on jb 1=n Button("订单查询");

Jutton   new JBut o("新书通报");

jb3=e JBtton("返回");

 this.   (jb 1);

 h   ad(jb2);

 thi  .add(j3);this.s etLaout(nul  )

 l.  tBunds(0,0 600,400);

//设置背景大小

thi  . d(j  );

 this.  etL ou (ew F loLayout());

th    etVis b le true);jb3 ddAc t onLis  eer(ne yistene3( );

}

 c  ass MyListener3 mplemen s At onistenr{

 publ  c voi at onPerformed(ActionEven e {

 i(e.ge ouc e )==jb){

 ew j  e a();

.is p o s ();



 

}

pub ic sta  c vid main(Stri  ] args {

 o=new  imin ();

 o.se sile(t  e);



}

Hostodo,美国独立日特价优惠,四款特价VPS云服务器7折,KVM虚拟架构,NVMe阵列,1核512M内存1Gbps带宽3T月流量,13.99美元/月,赠送DirectAdmin授权

Hostodo近日发布了美国独立日优惠促销活动,主要推送了四款特价优惠便宜的VPS云服务器产品,基于KVM虚拟架构,NVMe阵列,1Gbps带宽,默认分配一个IPv4+/64 IPv6,采用solusvm管理,赠送收费版DirectAdmin授权,服务有效期内均有效,大致约为7折优惠,独立日活动时间不定,活动机型售罄为止,有需要的朋友可以尝试一下。Hostodo怎么样?Hostodo服务器好不好?...

EdgeNat 新年开通优惠 - 韩国独立服务器原生IP地址CN2线路七折优惠

EdgeNat 商家在之前也有分享过几次活动,主要提供香港和韩国的VPS主机,分别在沙田和首尔LG机房,服务器均为自营硬件,电信CN2线路,移动联通BGP直连,其中VPS主机基于KVM架构,宿主机采用四路E5处理器、raid10+BBU固态硬盘!最高可以提供500Gbps DDoS防御。这次开年活动中有提供七折优惠的韩国独立服务器,原生IP地址CN2线路。第一、优惠券活动EdgeNat优惠码(限月...

易探云330元/年,成都4核8G/200G硬盘/15M带宽,仅1888元/3年起

易探云服务器怎么样?易探云是国内一家云计算服务商家,致力香港云服务器、美国云服务器、国内外服务器租用及托管等互联网业务,目前主要地区为运作香港BGP、香港CN2、广东、北京、深圳等地区。目前,易探云推出的国内云服务器优惠活动,国内云服务器2核2G5M云服务器低至330元/年起;成都4核8G/200G硬盘/15M带宽,仅1888元/3年起!易探云便宜vps服务器配置推荐:易探云vps云主机,入门型云...

qq空间登录界面为你推荐
骁龙750g和765g哪个好骁龙730G和骁龙835、联发科Helio G90T哪个更好?电脑杀毒软件哪个好电脑杀毒软件哪个好用燃气热水器和电热水器哪个好电热水器和燃气热水器的优缺点,那个更实用?手机杀毒软件哪个好手机杀毒软件那个好用qq空间登录QQ页面上空间不能登陆了,怎么回事?google广告申请怎样才能申请google广告dns服务器有什么用DNS服务器是什么,有什么作用。360云盘转存百度云盘360云盘文件如何快速转存到百度云月抛隐形眼镜隐形眼镜(月抛)、过了一个月还能再用吗?广东联通营业厅广东省广州市联通营业厅在哪里?
域名查询系统 512m内存 彩虹ip 阿里校园 福建铁通 申请网页 免费私人服务器 photobucket 阿里云邮箱登陆 阿里云邮箱个人版 rewritecond 闪讯网 免费获得q币 shuangcheng 美国主机侦探 weblogic部署 asp简介 大硬盘分区 瓦工技术 ddos攻击器 更多