【文件属性】:
文件名称:ATM,java编写的
文件大小:4KB
文件格式:JAVA
更新时间:2015-01-14 09:15:46
atm,java
课设任务,有一定的参考价值register 基本信息注册;
File file;
Hashtable 基本信息表;
JPanel panel;
JLabel 账号,密码,imagelab;
JTextField zhanghaotf;
JPasswordField passtf;
JButton 注册,确定,退出;
ImageIcon icon;
Container con=null;
Information 客户信息;
FileInputStream inOne=null;
ObjectInputStream inTwo=null;
FileOutputStream outOne=null;
ObjectOutputStream outTwo=null;
ATM(){
this.file=file;
setTitle("ATM自动取款机");
this.setBounds(200,200,300,300);
panel=new JPanel();
账号= new JLabel("账号:");
zhanghaotf= new JTextField(20);
密码= new JLabel("密码:");
passtf= new JPasswordField(20);
注册= new JButton("注册");
注册.addActionListener(this);
确定= new JButton("确定");
确定.addActionListener(this);
退出= new JButton("退出");
退出.addActionListener(this);
con=getContentPane();
网友评论
- 不错,,可以参考
- 代码不全,不过可以作为参考。