?? frame4.java~1~
字號(hào):
package mis;import javax.swing.*;import java.awt.*;import com.borland.jbcl.layout.*;/** * <p>Title: Mis</p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2008</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Frame4 extends JFrame { JPanel jPanel1 = new JPanel(); XYLayout xYLayout1 = new XYLayout(); JLabel jLabel1 = new JLabel(); JLabel jLabel2 = new JLabel(); JTextArea jTextArea1 = new JTextArea(); JLabel jLabel4 = new JLabel(); JTextArea jTextArea2 = new JTextArea(); JLabel jLabel3 = new JLabel(); JTextField jTextField1 = new JTextField(); JLabel jLabel5 = new JLabel(); JTextArea jTextArea3 = new JTextArea(); JLabel jLabel6 = new JLabel(); JTextArea jTextArea4 = new JTextArea(); JLabel jLabel7 = new JLabel(); JTextArea jTextArea5 = new JTextArea(); public Frame4() { try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } private void jbInit() throws Exception { jLabel7.setFont(new java.awt.Font("Dialog", 0, 13)); jLabel7.setText("政治面貌"); jTextArea5.setBorder(BorderFactory.createLoweredBevelBorder()); jTextArea5.setText(""); jPanel1.add(jLabel1, new XYConstraints(6, 6, 539, 23)); jPanel1.add(jLabel4, new XYConstraints(102, 254, -1, -1)); jPanel1.add(jTextArea2, new XYConstraints(125, 190, 98, 24)); jPanel1.add(jLabel2, new XYConstraints(19, 54, -1, -1)); jPanel1.add(jTextArea1, new XYConstraints(87, 54, 90, 23)); jPanel1.add(jTextField1, new XYConstraints(246, 55, 67, 23)); jPanel1.add(jLabel3, new XYConstraints(209, 57, -1, -1)); jPanel1.add(jLabel5, new XYConstraints(363, 60, -1, -1)); jPanel1.add(jTextArea3, new XYConstraints(399, 56, 108, 25)); jPanel1.add(jLabel6, new XYConstraints(22, 99, -1, -1)); jPanel1.add(jTextArea4, new XYConstraints(89, 101, 86, 23)); jPanel1.add(jLabel7, new XYConstraints(189, 104, -1, -1)); jPanel1.add(jTextArea5, new XYConstraints(248, 106, 67, 23)); jPanel1.setLayout(xYLayout1); jLabel1.setBackground(Color.gray); jLabel1.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel1.setForeground(Color.black); jLabel1.setBorder(BorderFactory.createEtchedBorder()); jLabel1.setOpaque(false); jLabel1.setRequestFocusEnabled(true); jLabel1.setText("編輯員工信息"); jPanel1.setBorder(BorderFactory.createLoweredBevelBorder()); jLabel2.setFont(new java.awt.Font("Dialog", 0, 13)); jLabel2.setText("員工姓名"); jTextArea1.setBorder(BorderFactory.createLoweredBevelBorder()); jTextArea1.setText(""); jLabel4.setFont(new java.awt.Font("Dialog", 0, 13)); jLabel4.setText("員工編號(hào)"); jTextArea2.setBorder(BorderFactory.createLoweredBevelBorder()); jTextArea2.setText(""); jLabel3.setFont(new java.awt.Font("Dialog", 0, 13)); jLabel3.setText("性別"); jTextField1.setText(""); jLabel5.setFont(new java.awt.Font("Dialog", 0, 13)); jLabel5.setText("部門"); jTextArea3.setBorder(BorderFactory.createLoweredBevelBorder()); jTextArea3.setText(""); jLabel6.setFont(new java.awt.Font("Dialog", 0, 13)); jLabel6.setText("出生日期"); jTextArea4.setBorder(BorderFactory.createLoweredBevelBorder()); jTextArea4.setPreferredSize(new Dimension(64, 22)); jTextArea4.setSelectedTextColor(Color.white); jTextArea4.setText(""); this.getContentPane().add(jPanel1, BorderLayout.CENTER); }}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -