Java 小型银行管理系统源代码(图形界面)accounts.javapackage Account;public class accounts {protected int id;//银行账号protected String password;//用户密码protected String name;//用户型号protected String personId;//身份账号protected int accountType;//账号类型,0 代表储蓄卡,1 代表信用卡protected double balance;//账户余额。之所以定义为 protected 是让他的子类可以直接用,不需要通过方法来赋值。protected double ceiling;public String getPassword(){return password;}public void setPassword(String password){this.password=password;}public String getName(){return name;}public void setName(String name){this.name=name;}public String getPersonId(){return personId;}public void setPersonId(String personId){this.personId=personId;}public int getAccountType(){return accountType;}public void setAccountType(int accountType){this.accountType=accountType;}public double getBalance(){return balance;}public void setBalance(double balance){this.balance=balance;}public int getId(){return id;}public void setId(int id){this.id=id;}public double getCeiling(){return ceiling;}public void setCeiling(double ceiling){this.ceiling=ceiling;}//无参数构造方法public accounts(){}//构造方法public accounts(String password,String name,String personId,int accountType,double balance,double ceiling){super();this.password=password;this.name=name;this.personId=personId;this.accountType=accountType;this.balance=balance;this.ceiling=ceiling;}//存款public void deposit(double money){balance+=money;}//取款public void withdraw(double money){if(accountType==1){if((balance+ceiling)