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

📄 shengjiguanli.java~1~

📁 中小学校园的教师
💻 JAVA~1~
字号:
package untitled2;import javax.swing.*;import java.awt.*;import com.borland.jbcl.layout.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class shengJiGuanLi extends JFrame {  JTextField jTextField1 = new JTextField();  JLabel jLabel1 = new JLabel();  JList jList1 = new JList();  JLabel jLabel2 = new JLabel();  JButton jButton1 = new JButton();  GridBagLayout gridBagLayout1 = new GridBagLayout();  public shengJiGuanLi() {    try {      jbInit();    }    catch(Exception ex) {      ex.printStackTrace();    }  }  void jbInit() throws Exception {    this.getContentPane().setLayout(gridBagLayout1);    jLabel1.setFont(new java.awt.Font("Dialog", 0, 13));    jLabel1.setText("请输入升级年级");    this.setLocale(java.util.Locale.getDefault());    this.setSize(new Dimension(400, 300));    jLabel2.setFont(new java.awt.Font("Dialog", 0, 13));    jLabel2.setRequestFocusEnabled(true);    jLabel2.setText("基本信息");    jButton1.setText("确定升级");    jTextField1.setText("");    this.getContentPane().add(jList1,  new GridBagConstraints(0, 2, 2, 1, 1.0, 1.0            ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 401, 126));    this.getContentPane().add(jLabel2,  new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0            ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(34, 7, 0, 67), 0, 0));    this.getContentPane().add(jLabel1,  new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0            ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(34, 35, 0, 0), 0, 0));    this.getContentPane().add(jTextField1,  new GridBagConstraints(1, 0, 1, 1, 1.0, 0.0            ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(34, 28, 0, 70), 171, 0));    this.getContentPane().add(jButton1,  new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0            ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(25, 175, 12, 21), 0, 0));  }}

⌨️ 快捷键说明

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