📄 deluser.java~2~
字号:
package zhican;import javax.swing.*;import java.awt.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2007</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class deluser extends JFrame { JLabel jLabel1 = new JLabel(); JLabel jLabel2 = new JLabel(); JTextField jTextField1 = new JTextField(); JPasswordField jPasswordField1 = new JPasswordField(); JButton jButton1 = new JButton(); public deluser() { try { jbInit(); } catch(Exception ex) { ex.printStackTrace(); } } void jbInit() throws Exception { jLabel1.setText("用户名:"); jLabel1.setBounds(new Rectangle(20, 34, 78, 25)); this.getContentPane().setLayout(null); jLabel2.setBounds(new Rectangle(20, 75, 78, 25)); jLabel2.setText("密 码:"); jTextField1.setText(""); jTextField1.setBounds(new Rectangle(76, 35, 91, 22)); jPasswordField1.setText(""); jPasswordField1.setBounds(new Rectangle(76, 76, 91, 23)); jButton1.setBounds(new Rectangle(75, 118, 72, 27)); jButton1.setText("删除"); this.getContentPane().add(jButton1, null); this.getContentPane().add(jLabel1, null); this.getContentPane().add(jTextField1, null); this.getContentPane().add(jLabel2, null); this.getContentPane().add(jPasswordField1, null); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -