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

📄 info.java~1~

📁 若已安装Jbuilder X
💻 JAVA~1~
字号:
package studentms;import java.awt.*;import com.borland.jbcl.layout.*;import javax.swing.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Info extends JPanel {  XYLayout xYLayout1 = new XYLayout();  JLabel jLabel4 = new JLabel();  JTextField jTextField6 = new JTextField();  JLabel jLabel2 = new JLabel();  JTextField jTextField2 = new JTextField();  JLabel jLabel6 = new JLabel();  JLabel jLabel1 = new JLabel();  JTextField jTextField7 = new JTextField();  JLabel jLabel3 = new JLabel();  JTextField jTextField1 = new JTextField();  JTextField jTextField3 = new JTextField();  JLabel jLabel7 = new JLabel();  JTextField jTextField5 = new JTextField();  JTextField jTextField4 = new JTextField();  JLabel jLabel5 = new JLabel();  JButton jButton1 = new JButton();  JButton jButton2 = new JButton();  public Info() {    try {      jbInit();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  void jbInit() throws Exception {    jLabel5.setText("所在班级:");    jLabel5.setFont(new java.awt.Font("Dialog", 0, 12));    jLabel7.setText("籍贯:");    jLabel7.setFont(new java.awt.Font("Dialog", 0, 12));    jLabel3.setText("学号:");    jLabel3.setFont(new java.awt.Font("Dialog", 0, 12));    jLabel1.setText("姓名:");    jLabel1.setFont(new java.awt.Font("Dialog", 0, 12));    jLabel6.setText("出生日期:");    jLabel6.setFont(new java.awt.Font("Dialog", 0, 12));    jLabel2.setText("性别:");    jLabel2.setFont(new java.awt.Font("Dialog", 0, 12));    jLabel4.setText("民族:");    jLabel4.setFont(new java.awt.Font("Dialog", 0, 12));    this.setLayout(xYLayout1);    jButton1.setFont(new java.awt.Font("Dialog", 0, 12));    jButton1.setText("确定");    jButton2.setFont(new java.awt.Font("Dialog", 0, 12));    jButton2.setText("取消");    this.add(jTextField4, new XYConstraints(251, 115, 72, 20));    this.add(jTextField7, new XYConstraints(89, 197, 235, 20));    this.add(jTextField6, new XYConstraints(251, 158, 72, 20));    this.add(jTextField5, new XYConstraints(89, 158, 72, 20));    this.add(jLabel7, new XYConstraints(47, 193, 44, 19));    this.add(jLabel2, new XYConstraints(46, 158, 45, 17));    this.add(jLabel6, new XYConstraints(186, 156, 69, 20));    this.add(jLabel5, new XYConstraints(186, 120, 61, 17));    this.add(jTextField3, new XYConstraints(89, 115, 72, 20));    this.add(jLabel1, new XYConstraints(46, 117, -1, -1));    this.add(jLabel3, new XYConstraints(45, 76, 38, 19));    this.add(jTextField1, new XYConstraints(89, 76, 72, 20));    this.add(jLabel4, new XYConstraints(201, 76, 39, 19));    this.add(jTextField2, new XYConstraints(250, 74, 72, 20));    this.add(jButton2,   new XYConstraints(222, 244, 70, 25));    this.add(jButton1,        new XYConstraints(105, 244, 70, 25));  }  //将所有控间设为可编辑  public void Enabled(  );}

⌨️ 快捷键说明

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