-
使用Java开发ATM代码,其中数据库采用SQL
资源介绍
利用Java实现ATM代码,数据库使用SQL.要确定需用到什么类,开户:输入姓名,密码,实现登录,修改密码,存取款,查看用户信息等功能。private void RegisterUser(atmJFrame atmjframe, atmJButton atmjbutton) {
atmJDailog atmjdailog = new atmJDailog(atmjframe, "登录");
Container container = atmjdailog.getContentPane();
container.setLayout(null);
if (atmjframe.getTitle() != "ATM") {
if (atmjbutton.getText() == "登录") {
// 输入账号和密码
atmJLabel jlb_1 = new atmJLabel(100,100,100,50,"卡号");
atmJLabel jlb_2 = new atmJLabel(100,150,100,50,"密码");
JTextField jtf_User = new JTextField(20);