DeleteUser.java~1~
资源名称:Java.rar [点击查看]
上传用户:liming9091
上传日期:2014-10-27
资源大小:3376k
文件大小:2k
源码类别:
Java编程
开发平台:
Java
- package uml_gaokai;
- import java.awt.*;
- import javax.swing.*;
- import com.borland.jbcl.layout.*;
- /**
- * <p>Title: </p>
- * <p>Description: </p>
- * <p>Copyright: Copyright (c) 2003</p>
- * <p>Company: </p>
- * @author unascribed
- * @version 1.0
- */
- public class DeleteUser extends JDialog {
- private JPanel panel1 = new JPanel();
- private XYLayout xYLayout1 = new XYLayout();
- private JLabel jLabel1 = new JLabel();
- private JLabel jLabel2 = new JLabel();
- private JTextField jTextField1 = new JTextField();
- private JTextField jTextField2 = new JTextField();
- private JButton jButton1 = new JButton();
- private JButton jButton2 = new JButton();
- public DeleteUser(Frame frame, String title, boolean modal) {
- super(frame, title, modal);
- try {
- jbInit();
- pack();
- }
- catch(Exception ex) {
- ex.printStackTrace();
- }
- }
- public DeleteUser() {
- this(null, "", false);
- }
- private void jbInit() throws Exception {
- panel1.setLayout(xYLayout1);
- jLabel1.setText("用户名");
- jLabel2.setText("类别");
- jButton1.setText("确定");
- jButton2.setText("取消");
- getContentPane().add(panel1);
- panel1.add(jLabel1, new XYConstraints(58, 44, 78, 25));
- panel1.add(jLabel2, new XYConstraints(59, 92, 84, 27));
- panel1.add(jTextField1, new XYConstraints(153, 44, 109, 27));
- panel1.add(jTextField2, new XYConstraints(153, 93, 112, 29));
- panel1.add(jButton1, new XYConstraints(151, 202, 82, 28));
- panel1.add(jButton2, new XYConstraints(256, 203, 83, 27));
- }
- }