/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class LoginPanel extends JFrame{
private JLabel jLabel1;
private JLabel jLabel2;
private JPasswordField jPasswordField1;
private JButton jButton1;
private JButton jButton2;
private JTextField jTextField1;
public LoginPanel()
{
{
this.setSize(315, 291);
setResizable(false);
setLocation(400,300);
setLayout(null);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setTitle("登陆界面V1.1__小四");
setVisible(true);
this.setIconImage(new ImageIcon(getClass().getClassLoader().getResource("homework/小四.png")).getImage());
{
jLabel1 = new JLabel();
getContentPane().add(jLabel1);
jLabel1.setText("\u7528\u6237\u540d");
jLabel1.setBounds(29, 120, 41, 18);
}
{
jLabel2 = new JLabel();
getContentPane().add(jLabel2);
jLabel2.setText("\u5bc6\u7801 ");
jLabel2.setBounds(29, 172, 41, 18);
}
{
jTextField1 = new JTextField();
getContentPane().add(jTextField1);
jTextField1.setBounds(107, 118, 138, 22);
}
{
jPasswordField1 = new JPasswordField();
getContentPane().add(jPasswordField1);
jPasswordField1.setBounds(107, 170, 138, 22);
}
{
jButton1 = new JButton();
getContentPane().add(jButton1);
jButton1.setText("\u786e\u5b9a");
jButton1.setBounds(21, 226, 81, 28);
jButton1.addActionListener(new ActionListener()
{