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

📄 modifyleechdominfo.java~2~

📁 医疗管理系统
💻 JAVA~2~
字号:
package cliniquemanager;

import java.awt.*;
import javax.swing.*;
import java.sql.*;

/**
 * <p>Title: CliniqueManager</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2007</p>
 *
 * <p>Company: shine</p>
 *
 * @author robin
 * @version 1.0
 */
public class ModifyLeechdomInfo extends JDialog {
    Container c=this.getContentPane();
    JLabel jLabel1 = new JLabel();
    JButton jButton1 = new JButton();
    JLabel jLabel2 = new JLabel();
    JTextField jTextField1 = new JTextField();
    JButton jButton2 = new JButton();
    JLabel jLabel3 = new JLabel();
    JLabel jLabel4 = new JLabel();
    JTextField jTextField2 = new JTextField();
    JButton jButton3 = new JButton();
    JTextField jTextField3 = new JTextField();
    JTextField jTextField4 = new JTextField();
    public ModifyLeechdomInfo(Frame owner, String title, boolean modal) {
        super(owner, title, modal);
        try {
            setDefaultCloseOperation(DISPOSE_ON_CLOSE);
            jbInit();
            pack();
        } catch (Exception exception) {
            exception.printStackTrace();
        }
    }

    public ModifyLeechdomInfo() {
        this(new Frame(), "修改药品信息", false);
    }

    private void jbInit() throws Exception {
        c.setLayout(null);
        this.setPreferredSize(new Dimension(350, 350));
        jLabel1.setText("药品名称(*):");
        jLabel1.setBounds(new Rectangle(32, 84, 100, 31));
        jButton1.setBounds(new Rectangle(134, 251, 89, 29));
        jButton1.setText("置空");
        jLabel2.setText("药品编号(*):");
        jLabel2.setBounds(new Rectangle(32, 32, 97, 31));
        jTextField1.setText("jTextField1");
        jTextField1.setBounds(new Rectangle(131, 87, 190, 30));
        jButton2.setBounds(new Rectangle(33, 252, 88, 29));
        jButton2.setText("添加");
        jLabel3.setText("生产商(*):");
        jLabel3.setBounds(new Rectangle(30, 138, 101, 30));
        jLabel4.setText("价格(*):");
        jLabel4.setBounds(new Rectangle(30, 190, 101, 31));
        jTextField2.setText("jTextField2");
        jTextField2.setBounds(new Rectangle(131, 33, 190, 30));
        jButton3.setBounds(new Rectangle(236, 250, 91, 31));
        jButton3.setText("取消");
        jTextField3.setText("jTextField3");
        jTextField3.setBounds(new Rectangle(131, 139, 190, 30));
        jTextField4.setText("jTextField4");
        jTextField4.setBounds(new Rectangle(131, 191, 190, 30));

        c.add(jLabel1);
        c.add(jButton1);
        c.add(jLabel2);
        c.add(jTextField1);
        c.add(jButton2);
        c.add(jLabel3);
        c.add(jLabel4);
        c.add(jTextField2);
        c.add(jButton3);
        c.add(jTextField3);
        c.add(jTextField4);

    }
}

⌨️ 快捷键说明

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