import java.awt.Dimension;
import java.awt.Toolkit;

import javax.swing.JFrame;

public class ATMframe extends JFrame implements Opration{
     public  ATMframe() {
    	Toolkit tk = Toolkit.getDefaultToolkit();//包含系统属性的类
        Dimension d = tk.getScreenSize();  //获得电脑显示屏的尺寸
 		this.setSize((int)d.getWidth(),(int)d.getHeight());//全屏显示
		this.setVisible(true);
		this.setResizable(false);//不可改变窗体大小
		this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
	}
	@Override
	public double showmo() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public boolean transfer() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean deposit() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean take() {
		// TODO Auto-generated method stub
		return false;
	}	
}
