📄 admininterface.java
字号:
.add(32, 32, 32)
.add(queryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel2)
.add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jComboBox3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel4))
.add(6, 6, 6)
.add(queryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel3)
.add(jTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jButton4))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 313, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(43, 43, 43))
);
operatePane.addTab("\u67e5\u8be2\u56fe\u4e66", queryPanel);
companyLabel1.setText("\u5355 \u4f4d\uff1a");
idLabel1.setText("\u501f\u8bb0\u5361\u53f7\uff1a");
genderLabel1.setText("\u6027 \u522b\uff1a");
nameLabel1.setText("\u59d3 \u540d\uff1a");
newUserGender.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "\u7537", "\u5973" }));
isAdmin.setText(" \u662f\u5426\u4e3a\u7ba1\u7406\u5458");
isAdmin.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
isAdmin.setMargin(new java.awt.Insets(0, 0, 0, 0));
enter.setText("\u786e\u5b9a");
enter.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
enterActionPerformed(evt);
}
});
jLabel27.setText("\u7528\u6237\u5bc6\u7801\uff1a");
org.jdesktop.layout.GroupLayout jPanelLayout = new org.jdesktop.layout.GroupLayout(jPanel);
jPanel.setLayout(jPanelLayout);
jPanelLayout.setHorizontalGroup(
jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanelLayout.createSequentialGroup()
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanelLayout.createSequentialGroup()
.add(127, 127, 127)
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(idLabel1)
.add(genderLabel1))
.add(jLabel27))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanelLayout.createSequentialGroup()
.add(newUserPwd, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 128, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(isAdmin, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 114, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(newUserName, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 223, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(newUserID, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 223, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(newUserInstitute, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 223, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(newUserGender, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 56, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
.add(jPanelLayout.createSequentialGroup()
.add(225, 225, 225)
.add(enter))
.add(jPanelLayout.createSequentialGroup()
.add(127, 127, 127)
.add(nameLabel1))
.add(jPanelLayout.createSequentialGroup()
.add(127, 127, 127)
.add(companyLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 78, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(289, Short.MAX_VALUE))
);
jPanelLayout.setVerticalGroup(
jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanelLayout.createSequentialGroup()
.add(65, 65, 65)
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanelLayout.createSequentialGroup()
.add(newUserID, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(21, 21, 21)
.add(newUserName, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(28, 28, 28)
.add(newUserInstitute, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(jPanelLayout.createSequentialGroup()
.add(idLabel1)
.add(21, 21, 21)
.add(nameLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(28, 28, 28)
.add(companyLabel1)
.add(29, 29, 29)
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(genderLabel1)
.add(newUserGender, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 21, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanelLayout.createSequentialGroup()
.add(101, 101, 101)
.add(enter))
.add(jPanelLayout.createSequentialGroup()
.add(17, 17, 17)
.add(jPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel27)
.add(newUserPwd, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(isAdmin))))))
.add(101, 101, 101))
);
operatePane.addTab("\u6ce8\u518c\u501f\u4e66\u5361", jPanel);
jLabel1.setText("ISBN\uff1a");
jLabel5.setText("\u4e66 \u540d\uff1a");
jLabel6.setText("\u51fa\u7248\u793e\uff1a");
jLabel7.setText("\u4f5c \u8005\uff1a");
jLabel8.setText("\u5b9a \u4ef7\uff1a");
jButton1.setText("\u786e\u5b9a");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jLabel25.setText("\u7c7b\u522b\uff1a");
jLabel26.setText("\u51fa\u7248\u65e5\u671f\uff1a");
org.jdesktop.layout.GroupLayout insertPanelLayout = new org.jdesktop.layout.GroupLayout(insertPanel);
insertPanel.setLayout(insertPanelLayout);
insertPanelLayout.setHorizontalGroup(
insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(insertPanelLayout.createSequentialGroup()
.add(150, 150, 150)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jLabel25)
.add(jLabel1)
.add(jLabel5)
.add(jLabel8)
.add(jLabel6)
.add(jLabel7))
.add(8, 8, 8)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jTextField3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 261, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jTextField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 261, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jTextField6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 261, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
.add(org.jdesktop.layout.GroupLayout.LEADING, insertPanelLayout.createSequentialGroup()
.add(jTextField5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 134, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(jButton1))
.add(org.jdesktop.layout.GroupLayout.LEADING, insertPanelLayout.createSequentialGroup()
.add(jTextField22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 64, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(32, 32, 32)
.add(jLabel26)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField23))
.add(org.jdesktop.layout.GroupLayout.LEADING, jTextField4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 261, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
.add(265, 265, 265))
);
insertPanelLayout.linkSize(new java.awt.Component[] {jTextField2, jTextField3, jTextField4, jTextField6}, org.jdesktop.layout.GroupLayout.HORIZONTAL);
insertPanelLayout.setVerticalGroup(
insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(insertPanelLayout.createSequentialGroup()
.add(41, 41, 41)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel1)
.add(jTextField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(22, 22, 22)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jTextField3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel5))
.add(19, 19, 19)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jTextField6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel7))
.add(19, 19, 19)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jTextField4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 18, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(27, 27, 27)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel25)
.add(jTextField22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel26)
.add(jTextField23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(25, 25, 25)
.add(insertPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jTextField5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel8)
.add(jButton1))
.addContainerGap(168, Short.MAX_VALUE))
);
insertPanelLayout.linkSize(new java.awt.Component[] {jTextField2, jTextField3, jTextField4, jTextField5, jTextField6}, org.jdesktop.layout.GroupLayout.VERTICAL);
operatePane.addTab("\u5f55\u5165\u65b0\u56fe\u4e66", insertPanel);
returnBook.setText("\u786e\u8ba4\u8fd8\u4e66");
returnBook.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
returnBookActionPerformed(evt);
}
});
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("\u8bfb\u8005\u4fe1\u606f\uff1a"));
jLabel11.setText("\u8bfb \u8005 ID\uff1a");
jLabel12.setText("\u59d3 \u540d\uff1a");
jLabel13.setText("\u5df2\u501f\u5929\u6570\uff1a");
jLabel17.setText("\u5355 \u4f4d\uff1a");
org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel2Layout.createSequentialGroup()
.add(16, 16, 16)
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jLabel11)
.add(jLabel17)
.add(jLabel13)
.add(jLabel12))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(Institute, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 270, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(pastDay, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 270, Short.MAX_VALUE)
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
.add(org.jdesktop.layout.GroupLayout.LEADING, userName)
.add(org.jdesktop.layout.GroupLayout.LEADING, userID, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)))
.addContainerGap(124, Short.MAX_VALUE))
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -