📄 alljframe.java
字号:
/*
* allJFrame.java
*
* Created on 2007年8月30日, 下午3:09
*/
package bankserver;
/**
*
* @author Administrator
*/
public class allJFrame extends javax.swing.JFrame {
/** Creates new form allJFrame */
public allJFrame() {
initComponents();
}
public allJFrame(String s)
{
super(s);
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=" 生成的代码 ">//GEN-BEGIN:initComponents
private void initComponents() {
sexbuttonGroup = new javax.swing.ButtonGroup();
marriagebuttonGroup = new javax.swing.ButtonGroup();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jLabel9 = new javax.swing.JLabel();
idfield = new javax.swing.JTextField();
namefield = new javax.swing.JTextField();
agefield = new javax.swing.JTextField();
jLabel10 = new javax.swing.JLabel();
hometown = new javax.swing.JComboBox();
worktimefield = new javax.swing.JTextField();
salaryfield = new javax.swing.JTextField();
statusfield = new javax.swing.JTextField();
cancelButton = new javax.swing.JButton();
jRadioButton1 = new javax.swing.JRadioButton();
jRadioButton2 = new javax.swing.JRadioButton();
jRadioButton3 = new javax.swing.JRadioButton();
jRadioButton4 = new javax.swing.JRadioButton();
okButton = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
jLabel1.setText("\u804c\u5de5\u53f7\uff1a");
jLabel2.setText("\u59d3\u540d\uff1a");
jLabel3.setText("\u6027\u522b\uff1a");
jLabel4.setText("\u7c4d\u8d2f\uff1a");
jLabel5.setText("\u5a5a\u59fb\u72b6\u51b5\uff1a");
jLabel6.setText("\u5de5\u9f84\uff1a");
jLabel7.setText("\u5de5\u8d44\uff1a");
jLabel8.setText("\u804c\u4f4d\uff1a");
jLabel9.setText("\u5e74\u9f84");
jLabel10.setText("\u7701");
hometown.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "\u5e7f\u4e1c", "\u5e7f\u897f", "\u6e56\u5317", "\u6cb3\u5357", "\u5c71\u4e1c", "\u5c71\u897f", "\u65b0\u7586", "\u9ed1\u9f99\u6c5f", "\u6d59\u6c5f", "\u6c5f\u897f", "\u6c5f\u82cf", "\u5b81\u590f", "\u8fbd\u5b81", "\u9752\u6d77", "\u9655\u897f", "\u7518\u8083", "\u4e91\u5357", "\u8d35\u5dde", "\u897f\u85cf", "\u56db\u5ddd", "\u5317\u4eac", "\u4e0a\u6d77", "\u5929\u6d25", "\u5185\u8499\u53e4", "\u53f0\u6e7e", "\u6d77\u5357", "\u798f\u5efa", "\u5409\u6797", "\u5b89\u5fbd", "\u9999\u6e2f", "\u6fb3\u95e8" }));
cancelButton.setText("\u53d6\u6d88");
cancelButton.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
cancelButtonMouseClicked(evt);
}
});
sexbuttonGroup.add(jRadioButton1);
jRadioButton1.setText("\u7537");
jRadioButton1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jRadioButton1.setMargin(new java.awt.Insets(0, 0, 0, 0));
sexbuttonGroup.add(jRadioButton2);
jRadioButton2.setText("\u5973");
jRadioButton2.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jRadioButton2.setMargin(new java.awt.Insets(0, 0, 0, 0));
marriagebuttonGroup.add(jRadioButton3);
jRadioButton3.setText("\u5df2\u5a5a");
jRadioButton3.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jRadioButton3.setMargin(new java.awt.Insets(0, 0, 0, 0));
marriagebuttonGroup.add(jRadioButton4);
jRadioButton4.setText("\u672a\u5a5a");
jRadioButton4.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jRadioButton4.setMargin(new java.awt.Insets(0, 0, 0, 0));
okButton.setText("\u786e\u5b9a");
okButton.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
okButtonMouseClicked(evt);
}
});
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(67, 67, 67)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jLabel1)
.add(jLabel2)
.add(jLabel3)
.add(jLabel4)
.add(jLabel5)
.add(jLabel9)
.add(jLabel6))
.add(20, 20, 20)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(jRadioButton1)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jRadioButton2))
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
.add(namefield)
.add(idfield, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 139, Short.MAX_VALUE))
.add(layout.createSequentialGroup()
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
.add(worktimefield, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 64, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(salaryfield)
.add(statusfield)
.add(layout.createSequentialGroup()
.add(jRadioButton3)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jRadioButton4))))
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
.add(org.jdesktop.layout.GroupLayout.LEADING, agefield)
.add(org.jdesktop.layout.GroupLayout.LEADING, hometown, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -