⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bankadmin.java

📁 java书 java书 java书 java书 java书 java书
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
        accountCreateButton.setText("Create Account");        accountCreateButton.setEnabled(false);        accountCreateButton.addMouseListener(                new java.awt.event.MouseAdapter() {                    public void mouseReleased(java.awt.event.MouseEvent evt) {                        accountCreateButtonMouseReleased(evt);                    }                });        accountRemoveButton.setText("Remove");        accountRemoveButton.setEnabled(false);        accountRemoveButton.addMouseListener(                new java.awt.event.MouseAdapter() {                    public void mouseReleased(java.awt.event.MouseEvent evt) {                        accountRemoveButtonMouseReleased(evt);                    }                });        accountCancelButton.setText("Cancel");        accountCancelButton.addMouseListener(                new java.awt.event.MouseAdapter() {                    public void mouseReleased(java.awt.event.MouseEvent evt) {                        accountCancelButtonMouseReleased(evt);                    }                });        accountDescriptionTextField.setEditable(false);        accountTypeComboBox.setModel(                new javax.swing.DefaultComboBoxModel(                        new String[] {                            "Savings", "Checking", "Money Market", "Credit"                        }));        accountTypeComboBox.setEnabled(false);        balanceTextField.setEditable(false);        creditTextField.setEditable(false);        beginningBalanceTextField.setEditable(false);        customersTextField.setEditable(false);        timeTextField.setEditable(false);        accountActionsPanel.setBorder(                javax.swing.BorderFactory.createTitledBorder(                        null,                        "Account Actions",                        javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,                        javax.swing.border.TitledBorder.DEFAULT_POSITION,                        new java.awt.Font("Tahoma", 0, 11),                        new java.awt.Color(0, 0, 0)));        addCustomerToAccountButton.setText("Add Customer to Account");        addCustomerToAccountButton.setEnabled(false);        addCustomerToAccountButton.addMouseListener(                new java.awt.event.MouseAdapter() {                    public void mouseReleased(java.awt.event.MouseEvent evt) {                        addCustomerToAccountButtonMouseReleased(evt);                    }                });        addCustomerToAccountLabel.setText("Customer Id:");        addCustomerToAccountTextField.setEditable(false);        removeCustomerFromAccountButton.setText("Remove Customer From Account");        removeCustomerFromAccountButton.setEnabled(false);        removeCustomerFromAccountButton.addMouseListener(                new java.awt.event.MouseAdapter() {                    public void mouseReleased(java.awt.event.MouseEvent evt) {                        removeCustomerFromAccountButtonMouseReleased(evt);                    }                });        org.jdesktop.layout.GroupLayout accountActionsPanelLayout = new org.jdesktop.layout.GroupLayout(                    accountActionsPanel);        accountActionsPanel.setLayout(accountActionsPanelLayout);        accountActionsPanelLayout.setHorizontalGroup(                accountActionsPanelLayout.createParallelGroup(                        org.jdesktop.layout.GroupLayout.LEADING).add(                        accountActionsPanelLayout.createSequentialGroup().addContainerGap().add(                                accountActionsPanelLayout.createParallelGroup(                                        org.jdesktop.layout.GroupLayout.LEADING).add(                                        org.jdesktop.layout.GroupLayout.TRAILING,                                        accountActionsPanelLayout.createSequentialGroup().add(                                                addCustomerToAccountLabel).addPreferredGap(                                                org.jdesktop.layout.LayoutStyle.RELATED).add(                                                addCustomerToAccountTextField,                                                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,                                                55,                                                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).addPreferredGap(                                                org.jdesktop.layout.LayoutStyle.RELATED,                                                203,                                                Short.MAX_VALUE).add(                                                addCustomerToAccountButton)).add(                                        org.jdesktop.layout.GroupLayout.TRAILING,                                        removeCustomerFromAccountButton)).addContainerGap()));        accountActionsPanelLayout.setVerticalGroup(                accountActionsPanelLayout.createParallelGroup(                        org.jdesktop.layout.GroupLayout.LEADING).add(                        accountActionsPanelLayout.createSequentialGroup().add(                                accountActionsPanelLayout.createParallelGroup(                                        org.jdesktop.layout.GroupLayout.BASELINE).add(                                        addCustomerToAccountButton).add(                                        addCustomerToAccountLabel).add(                                        addCustomerToAccountTextField,                                        org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                        org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addPreferredGap(                                org.jdesktop.layout.LayoutStyle.RELATED).add(                                removeCustomerFromAccountButton).addContainerGap(                                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                Short.MAX_VALUE)));        org.jdesktop.layout.GroupLayout accountInfoPanelLayout = new org.jdesktop.layout.GroupLayout(                    accountInfoPanel);        accountInfoPanel.setLayout(accountInfoPanelLayout);        accountInfoPanelLayout.setHorizontalGroup(                accountInfoPanelLayout.createParallelGroup(                        org.jdesktop.layout.GroupLayout.LEADING).add(                        org.jdesktop.layout.GroupLayout.TRAILING,                        accountInfoPanelLayout.createSequentialGroup().addContainerGap().add(                                accountInfoPanelLayout.createParallelGroup(                                        org.jdesktop.layout.GroupLayout.TRAILING).add(                                        org.jdesktop.layout.GroupLayout.LEADING,                                        accountActionsPanel,                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                        Short.MAX_VALUE).add(                                        org.jdesktop.layout.GroupLayout.LEADING,                                        accountInfoPanelLayout.createSequentialGroup().add(                                                accountInfoPanelLayout.createParallelGroup(                                                        org.jdesktop.layout.GroupLayout.TRAILING,                                                        false).add(                                                        accountDescriptionLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        Short.MAX_VALUE).add(                                                        timeLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        Short.MAX_VALUE).add(                                                        customersLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        Short.MAX_VALUE).add(                                                        beginningBalanceLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        Short.MAX_VALUE).add(                                                        creditLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        Short.MAX_VALUE).add(                                                        balanceLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        Short.MAX_VALUE).add(                                                        accountTypeLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        99,                                                        Short.MAX_VALUE).add(                                                        accountIdLabel,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        Short.MAX_VALUE)).addPreferredGap(                                                org.jdesktop.layout.LayoutStyle.RELATED).add(                                                accountInfoPanelLayout.createParallelGroup(                                                        org.jdesktop.layout.GroupLayout.LEADING).add(                                                        accountTypeComboBox,                                                        org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add(                                                        accountDescriptionTextField,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        413,                                                        Short.MAX_VALUE).add(                                                        balanceTextField,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        413,                                                        Short.MAX_VALUE).add(                                                        creditTextField,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        413,                                                        Short.MAX_VALUE).add(                                                        beginningBalanceTextField,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        413,                                                        Short.MAX_VALUE).add(                                                        customersTextField,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        413,                                                        Short.MAX_VALUE).add(                                                        timeTextField,                                                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,                                                        413,                                                        Short.MAX_VALUE).add(                                                        accountInfoPanelLayout.createSequentialGroup().add(                                                                accountIdTextField,                                                                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,                                                                82,                                                                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).addPreferredGap(                                                                org.jdesktop.layout.LayoutStyle.RELATED).add(                                                                accountOpenButton)))).add(                                        accountInfoPanelLayout.createSequentialGroup().add(                                                accountNewButton).addPreferredGap(                                                org.jdesktop.layout.LayoutStyle.RELATED).add(                                                accountCreateButton).addPreferredGap(                                                org.jdesktop.layout.LayoutStyle.RELATED).add(                                                accountRemoveButton).addPreferredGap(                                                org.jdesktop.layout.LayoutStyle.RELATED).add(                                                accountCancelButton))).addContainerGap()));        accountInfoPanelLayout.setVerticalGroup(                accountInfoPanelLayout.createParallelGroup(

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -