📄 bankadmin.java
字号:
emailLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 97, Short.MAX_VALUE).add( customerIdLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 97, Short.MAX_VALUE).add( org.jdesktop.layout.GroupLayout.LEADING, firstNameLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 97, Short.MAX_VALUE)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING).add( org.jdesktop.layout.GroupLayout.TRAILING, firstNameTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( customerInfoPanelLayout.createSequentialGroup().addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED, 91, Short.MAX_VALUE).add( customerNewButton).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerUpdateButton).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerRemoveButton).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerCancelButton)).add( org.jdesktop.layout.GroupLayout.TRAILING, lastNameTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( org.jdesktop.layout.GroupLayout.TRAILING, streetTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( org.jdesktop.layout.GroupLayout.TRAILING, stateTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( org.jdesktop.layout.GroupLayout.TRAILING, phoneTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( org.jdesktop.layout.GroupLayout.TRAILING, emailTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( zipTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( cityTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( middleInitialTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 415, Short.MAX_VALUE).add( customerInfoPanelLayout.createSequentialGroup().add( customerIdTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 85, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerOpenButton))))).addContainerGap())); customerInfoPanelLayout.setVerticalGroup( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING).add( customerInfoPanelLayout.createSequentialGroup().addContainerGap().add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( customerIdTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( customerOpenButton).add( customerIdLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( firstNameLabel).add( firstNameTextField, 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( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( lastNameTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( lastNameLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( middleInitialTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( middleInitialLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( streetTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( streetLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( cityTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( cityLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( stateTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( stateLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( zipTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( zipLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( phoneTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( phoneLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( emailTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add( emailLabel)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerInfoPanelLayout.createParallelGroup( org.jdesktop.layout.GroupLayout.BASELINE).add( customerCancelButton).add( customerUpdateButton).add( customerNewButton).add( customerRemoveButton)).addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED).add( customerSearchPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addContainerGap())); jTabbedPane1.addTab("Customer Info", customerInfoPanel); accountIdLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); accountIdLabel.setText("Account Id:"); accountDescriptionLabel.setHorizontalAlignment( javax.swing.SwingConstants.RIGHT); accountDescriptionLabel.setText("Account Description:"); accountTypeLabel.setHorizontalAlignment( javax.swing.SwingConstants.RIGHT); accountTypeLabel.setText("Account Type:"); balanceLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); balanceLabel.setText("Balance:"); creditLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); creditLabel.setText("Credit:"); beginningBalanceLabel.setHorizontalAlignment( javax.swing.SwingConstants.RIGHT); beginningBalanceLabel.setText("Beginning Balance:"); customersLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); customersLabel.setText("Customers:"); timeLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); timeLabel.setText("Account Created:"); accountOpenButton.setText("Open"); accountOpenButton.addMouseListener( new java.awt.event.MouseAdapter() { public void mouseReleased(java.awt.event.MouseEvent evt) { accountOpenButtonMouseReleased(evt); } }); accountNewButton.setText("New Account"); accountNewButton.addMouseListener( new java.awt.event.MouseAdapter() { public void mouseReleased(java.awt.event.MouseEvent evt) { accountNewButtonMouseReleased(evt); } });
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -