/*
* Copyright 2007 Sun Microsystems, Inc.
* All rights reserved. You may not modify, use,
* reproduce, or distribute this software except in
* compliance with the terms of the License at:
* http://developer.sun.com/berkeley_license.html
*/
package com.sun.tutorial.javaee.dukesbank.client;
import com.sun.tutorial.javaee.dukesbank.exception.AccountNotFoundException;
import com.sun.tutorial.javaee.dukesbank.exception.CustomerNotFoundException;
import com.sun.tutorial.javaee.dukesbank.exception.IllegalAccountTypeException;
import com.sun.tutorial.javaee.dukesbank.exception.InvalidParameterException;
import com.sun.tutorial.javaee.dukesbank.request.AccountController;
import com.sun.tutorial.javaee.dukesbank.request.CustomerController;
import com.sun.tutorial.javaee.dukesbank.util.AccountDetails;
import com.sun.tutorial.javaee.dukesbank.util.CustomerDetails;
import java.math.BigDecimal;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import javax.ejb.EJB;
import javax.swing.DefaultListModel;
/**
*
* @author ian
*/
public class BankAdmin extends javax.swing.JFrame {
@EJB
private static CustomerController customerController;
@EJB
private static AccountController accountController;
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JPanel accountActionsPanel;
private javax.swing.JButton accountCancelButton;
private javax.swing.JButton accountCreateButton;
private javax.swing.JLabel accountDescriptionLabel;
private javax.swing.JTextField accountDescriptionTextField;
private javax.swing.JLabel accountIdLabel;
private javax.swing.JTextField accountIdTextField;
private javax.swing.JPanel accountInfoPanel;
private javax.swing.JButton accountNewButton;
private javax.swing.JButton accountOpenButton;
private javax.swing.JButton accountRemoveButton;
private javax.swing.JComboBox accountTypeComboBox;
private javax.swing.JLabel accountTypeLabel;
private javax.swing.JButton addCustomerToAccountButton;
private javax.swing.JLabel addCustomerToAccountLabel;
private javax.swing.JTextField addCustomerToAccountTextField;
private javax.swing.JLabel balanceLabel;
private javax.swing.JTextField balanceTextField;
private javax.swing.JLabel beginningBalanceLabel;
private javax.swing.JTextField beginningBalanceTextField;
private javax.swing.JLabel cityLabel;
private javax.swing.JTextField cityTextField;
private javax.swing.JMenuItem copyMenuItem;
private javax.swing.JLabel creditLabel;
private javax.swing.JTextField creditTextField;
private javax.swing.JButton customerCancelButton;
private javax.swing.JLabel customerIdLabel;
private javax.swing.JTextField customerIdTextField;
private javax.swing.JPanel customerInfoPanel;
private javax.swing.JButton customerNewButton;
private javax.swing.JButton customerOpenButton;
private javax.swing.JButton customerRemoveButton;
private javax.swing.JButton customerSearchButton;
private javax.swing.JLabel customerSearchLabel;
private javax.swing.JList customerSearchList;
private javax.swing.JPanel customerSearchPanel;
private javax.swing.JScrollPane customerSearchScrollPane;
private javax.swing.JTextField customerSearchTextField;
private javax.swing.JButton customerUpdateButton;
private javax.swing.JLabel customersLabel;
private javax.swing.JTextField customersTextField;
private javax.swing.JMenuItem cutMenuItem;
private javax.swing.JMenuItem deleteMenuItem;
private javax.swing.JMenu editMenu;
private javax.swing.JLabel emailLabel;
private javax.swing.JTextField emailTextField;
private javax.swing.JMenuItem exitMenuItem;
private javax.swing.JMenu fileMenu;
private javax.swing.JLabel firstNameLabel;
private javax.swing.JTextField firstNameTextField;
private javax.swing.JTabbedPane jTabbedPane1;
private javax.swing.JLabel lastNameLabel;
private javax.swing.JTextField lastNameTextField;
private javax.swing.JMenuBar menuBar;
private javax.swing.JLabel messageLabel;
private javax.swing.JPanel messagePanel;
private javax.swing.JLabel messageTextLabel;
private javax.swing.JLabel middleInitialLabel;
private javax.swing.JTextField middleInitialTextField;
private javax.swing.JMenuItem pasteMenuItem;
private javax.swing.JLabel phoneLabel;
private javax.swing.JTextField phoneTextField;
private javax.swing.JButton removeCustomerFromAccountButton;
private javax.swing.JLabel stateLabel;
private javax.swing.JTextField stateTextField;
private javax.swing.JLabel streetLabel;
private javax.swing.JTextField streetTextField;
private javax.swing.JLabel timeLabel;
private javax.swing.JTextField timeTextField;
private javax.swing.JLabel zipLabel;
private javax.swing.JTextField zipTextField;
private boolean isNewAccount;
private boolean isNewCustomer;
/** Creates new form BankAdmin */
public BankAdmin() {
initComponents();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
jTabbedPane1 = new javax.swing.JTabbedPane();
customerInfoPanel = new javax.swing.JPanel();
customerIdLabel = new javax.swing.JLabel();
firstNameLabel = new javax.swing.JLabel();
lastNameLabel = new javax.swing.JLabel();
middleInitialLabel = new javax.swing.JLabel();
streetLabel = new javax.swing.JLabel();
cityLabel = new javax.swing.JLabel();
stateLabel = new javax.swing.JLabel();
zipLabel = new javax.swing.JLabel();
phoneLabel = new javax.swing.JLabel();
emailLabel = new javax.swing.JLabel();
customerIdTextField = new javax.swing.JTextField();
firstNameTextField = new javax.swing.JTextField();
lastNameTextField = new javax.swing.JTextField();
middleInitialTextField = new javax.swing.JTextField();
streetTextField = new javax.swing.JTextField();
cityTextField = new javax.swing.JTextField();
stateTextField = new javax.swing.JTextField();
zipTextField = new javax.swing.JTextField();
phoneTextField = new javax.swing.JTextField();
emailTextField = new javax.swing.JTextField();
customerOpenButton = new javax.swing.JButton();
customerNewButton = new javax.swing.JButton();
customerUpdateButton = new javax.swing.JButton();
customerRemoveButton = new javax.swing.JButton();
customerCancelButton = new javax.swing.JButton();
customerSearchPanel = new javax.swing.JPanel();
customerSearchLabel = new javax.swing.JLabel();
customerSearchTextField = new javax.swing.JTextField();
customerSearchButton = new javax.swing.JButton();
customerSearchScrollPane = new javax.swing.JScrollPane();
customerSearchList = new javax.swing.JList();
accountInfoPanel = new javax.swing.JPanel();
accountIdLabel = new javax.swing.JLabel();
accountDescriptionLabel = new javax.swing.JLabel();
accountTypeLabel = new javax.swing.JLabel();
balanceLabel = new javax.swing.JLabel();
creditLabel = new javax.swing.JLabel();
beginningBalanceLabel = new javax.swing.JLabel();
customersLabel = new javax.swing.JLabel();
timeLabel = new javax.swing.JLabel();
accountOpenButton = new javax.swing.JButton();
accountNewButton = new javax.swing.JButton();
accountCreateButton = new javax.swing.JButton();
accountRemoveButton = new javax.swing.JButton();
没有合适的资源?快使用搜索试试~ 我知道了~
JEE tutorial
共1900个文件
xml:639个
html:315个
java:300个
需积分: 0 0 下载量 105 浏览量
2009-07-16
11:33:00
上传
评论 1
收藏 5.69MB RAR 举报
温馨提示
sun官网上下载的指导书,对JEE开发很有帮助。
资源详情
资源评论
资源推荐
收起资源包目录
JEE tutorial (1900个子文件)
banner.ai 8KB
client.cer 832B
client.cer 820B
advanced.css 95KB
default.css 20KB
stylesheet.css 3KB
stylesheet.css 3KB
ipg.css 3KB
coffeebreak.css 2KB
j5eetutorial.css 2KB
APP_dukesbank-ejb.dbschema 113KB
coffee-order.dtd 680B
price-list.dtd 178B
confirm.dtd 152B
request-prices.dtd 111B
BankAdmin.form 49KB
bank-appFlow.gif 73KB
overview-businessAndEisTiers.gif 65KB
about-roadmap.gif 61KB
overview-j2eeArchitecture.gif 58KB
overview-webTier.gif 55KB
cb-orderForm.gif 52KB
securityRoleMapping.gif 50KB
overview-multitieredApplications.gif 48KB
overview-serverCommunications.gif 46KB
cb-confirmation.gif 46KB
web-bookCatalog1.gif 45KB
saaj-twoAttach.gif 44KB
web-bookCatalog2.gif 44KB
overview-serverAndContainers.gif 43KB
jaxb-overview.gif 43KB
jmsj2ee-sendRemote.gif 43KB
jms-multiServer.gif 42KB
bank-database.gif 40KB
web-bookstoreRequestFlow.gif 38KB
security-sslBMAWithCertificates.gif 37KB
jmsj2ee-clientMdbEntityApp.gif 37KB
bank-accountHist.gif 35KB
web-scopedAttributes.gif 35KB
web-requestHandling.gif 35KB
jsfIntro-lifecycle.gif 34KB
web-bookDetails.gif 34KB
web-applet.gif 34KB
web-dukesBookstore.gif 33KB
connector-accessingEIS.gif 33KB
jmsj2ee-clientSessionMdbApp.gif 32KB
trans-updatingMultiDBsJ2eeServers.gif 32KB
trans-updatingMultipleDataases.gif 31KB
jms-transactedExample.gif 31KB
web-response.gif 30KB
security-basicauthRunning.gif 30KB
security-formLoginResponse.gif 30KB
jms-architecture.gif 29KB
web-greetingForm.gif 29KB
web-newGreeting.gif 29KB
security-sslBMlAWUsernamePassword.gif 29KB
security-formLoginDisplay.gif 29KB
security-basicauth.gif 29KB
security-formLogin.gif 28KB
web-module.gif 28KB
security-formBasedLogin.gif 28KB
jmsj2ee-consumeRemote.gif 27KB
saaj-noAttach.gif 27KB
web-dateForm.gif 26KB
cb-appFlow.gif 26KB
security-J2EE.3-5.gif 26KB
jms-programmingModel.gif 26KB
ejbcon-enterpriseBeanInterfaces.gif 25KB
bank-accountList.gif 25KB
ejb-converterWebClient.gif 23KB
banner.gif 23KB
jaxb-customInheritance.gif 23KB
trans-transactionScope.gif 22KB
security-httpBasicAuthentication.gif 21KB
ejbcon-statefulSessionBeanLifeCycle.gif 20KB
overview-applicationModule.gif 20KB
jms-msgEnterpriseApp.gif 20KB
jsfPage-bookShowCartTable.gif 19KB
mdb-simpleMessageApp.gif 18KB
jaxb-dataBindingProcess.gif 17KB
connector-module.gif 16KB
security-J2EE.3-3.gif 16KB
dukesbank-appClientCustomer.gif 15KB
security-idPropag.gif 15KB
jms-publishSubscribe.gif 15KB
web-filterMapping.gif 15KB
ejbcon-module.gif 15KB
web-technologies.gif 15KB
jsfIntro-server.gif 15KB
jaxws-simpleClientAndService.gif 14KB
dukesbank-appClient.gif 14KB
ejbcon-messageDrivenBeanLifeCycle.gif 13KB
security-J2EE.3-4.gif 13KB
ejbcon-statelessSessionBeanLifeCycle.gif 11KB
jms-pointToPoint.gif 10KB
jms-durableSubscriber.gif 9KB
jms-localTransactions.gif 9KB
security-J2EE.3-2.gif 8KB
jms-nondurableSubscriber.gif 8KB
vnv1_bg_logo.gif 7KB
共 1900 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19
pc512969869
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- vscode-1.64.1.tar源码文件
- vscode-1.64.0.tar源码文件
- vscode-1.52.0.tar源码文件
- Music-Player +PlayerActivity+ rockplayer+ SeeJoPlayer 播放器JAVA源码
- vscode-1.46.0.tar源码文件
- 最近很火植物大战僵尸杂交版2.08苹果+安卓+PC+防闪退工具V2+修改工具+高清工具+通关存档整合包更新
- 超级好用的截图工具PixPin,可录制Gif图
- Screenshot_2024-05-21-17-06-42-64_2332cb9b27b851b548ba47a91682926c.jpg
- 毕业设计参考 - 基于树莓派、OpenCV及Python的人脸识别
- node-v18.20.2-linux-arm64
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0