public void actionPerformed(ActionEvent e) //界面显示控制
{ String IC_Number="";
String password="";
String IC_No="";
(false);
float leftmoney=0;
float moneys=0;
float mon=0;
float money1=0;
float money2=0;
if(true)
{int No_50=0,No_100=0;
String strin="select NO_50,NO_100 from ATM where ATM_ID='123456789'";
ResultSet rsSQLSelect=executeQuery(strin);
try{
if(())
{
No_50=Integer.parseInt(rsSQLSelect.getString("NO_50"));
No_100=Integer.parseInt(("NO_100"));
}
}
catch(Exception er){.println("查询ATM机信息出错!");}
if(No_50==0&&No_100==0)
{
(false);
t1.setText("对不起,本ATM自动取款机暂停服务!");
(c,"1");
}
}
(c,"1");
if(()==z1)
{
("");
text1.setText("");
cl.show(c,"2");
}
if(()==z4||()==z6||()==z11||e.getSource()==z16||e.getSource()==z18||()==z22)
{
closeDBConnection();
(c,"1");
}
if(()==z2)
{
closeDBConnection();
System.exit(0);
}
if(()==z3)
{ IC_Number=().trim();
if(getname(IC_Number))
{z5.setVisible(true);
pw1.setVisible(true);
t4.setVisible(true);
pw1.setText("");
("");
(c,"3");
}
else
{
("您输入的卡号不存在,请重新输入!");
(c,"2");
}
}
if(()==z5)
{ password
ATM自助取款机系统java代码 来自淘豆网m.daumloan.com转载请标明出处.