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

📄 updateframe.java~2~

📁 基于JB的网络数据库系统开发
💻 JAVA~2~
字号:
package simpleusers;import javax.swing.*;import java.awt.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class UpdateFrame extends JFrame {  JButton jButton2 = new JButton();  JLabel jLabel2 = new JLabel();  JButton jButton1 = new JButton();  JLabel jLabel1 = new JLabel();  JPasswordField jP1 = new JPasswordField();  JTextField jT1 = new JTextField();  JLabel jLabel3 = new JLabel();  JPasswordField jP2 = new JPasswordField();  public UpdateFrame() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  private void jbInit() throws Exception {    jT1.setBounds(new Rectangle(137, 46, 131, 37));    jT1.setText("");    jT1.setFont(new java.awt.Font("Dialog", 0, 16));    jP1.setBounds(new Rectangle(137, 102, 131, 37));    jP1.setText("");    jLabel1.setBounds(new Rectangle(63, 46, 61, 30));    jLabel1.setText("用户名");    jLabel1.setFont(new java.awt.Font("Dialog", 0, 16));    jButton1.setText("确定");    jButton1.setFont(new java.awt.Font("Dialog", 0, 14));    jButton1.setBounds(new Rectangle(69, 223, 69, 39));    jLabel2.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel2.setText("旧密码");    jLabel2.setBounds(new Rectangle(63, 102, 61, 30));    jButton2.setBounds(new Rectangle(184, 223, 69, 39));    jButton2.setFont(new java.awt.Font("Dialog", 0, 14));    jButton2.setText("重置");    this.getContentPane().setLayout(null);    jLabel3.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel3.setText("旧密码");    jLabel3.setBounds(new Rectangle(63, 163, 61, 30));    jP2.setBounds(new Rectangle(137, 157, 131, 37));    jP2.setText("");    this.getContentPane().add(jLabel2, null);    this.getContentPane().add(jLabel1, null);    this.getContentPane().add(jP1, null);    this.getContentPane().add(jT1, null);    this.getContentPane().add(jButton1, null);    this.getContentPane().add(jButton2, null);    this.getContentPane().add(jP2, null);    this.getContentPane().add(jLabel3, null);  }}

⌨️ 快捷键说明

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